How best to do client code ownership in a licensed system?

We are looking at building a system where a client owns specific work we do for them that runs on a server they have a license to (so they don’t own or have access to the main system). What is the best way to package/load the client’s code? A standard Meteor package or something else? Has anyone done something like this with Meteor?