I'd like to be able to import a library of common tools that I use to make working with MongoDB easier. However, I haven't discovered an easy to to import external scripts into the Mongo CLI. Ideally, this would work similar to Node.js require.
How can I get require working in Mongo CLI by default?
Or, is there some other way to solve external library dependencies?