umd-ify
Want to use the awesome powers of npm but can't/don't want to use browserify? Then maybe this module is for you...
Installing
Install umd-ify
either locally for your project(npm i umd-ify
) or global
(npm i -g umd-ify
).
Usage
umd-ify
goes through your node_modules/
folder and packages each of your
dependencies as a UMD module and puts them into
a folder for you.
Just run this command in the root of your project:
umdify --dir umd_modules/
You can also define it as a script in your package.json
file:
API
If you want to you can also use umd-ify
programatically by using its API.
It is pretty straight-forward:
var umdify =
Tests
To execute the tests simply run npm test