Simple One File libraries > expose to the global scope
git clone some-js-library
cd some-js-library
# Make a dist folder
mkdir dist
# Make it available to browser javascript on the global scope as some-js-library
browserify index.js --s some-js-library | uglifyjs > dist/some-js-library.min.js
For more info: https://makerlog.org/posts/creating-js-library-builds-with-browserify-and-other-npm-modules