Sharing functions

I’ve defined a set of functions to be used by serveral smartapps.
I don’t want to repeat functions in several smartapps of have some put in 1 app and some in another.
What can you advise? (a package, but how? When put in 1 dummy app, can they be used by all the others, are they shared?)

Thanks in advance!

Currently no clean way of doing this. You could do some sort of pre-processing in an external editor, but SmartThings does not allow #includes or personal libraries.

There are better development tools in the pipeline.