Adds brfs as a browserify transform to your package.json, if it isn't already listed.
npm install add-brfs -g
Then, in the directory of the module you want to use brfs:
This will prepend
brfs to the list of transforms for your current directory's package.json.
-i flag will also install the
brfs module and
--save it as a dependency.
You can use
--append to append it to the list of browserify transforms instead of prepend. You can also use
--dir to specify a different directory than the current working directory to look for package.json (however, installing is still done in current directory).
Usage:add-brfs [opts]Options:-h show help message-d, --dir the directory to look for package.json-a, --append adds brfs at end of transform list-i, --i also install the latest brfs with --save flag
MIT, see LICENSE.md for details.