browserify-standalone

Browserify standalone (UMD) build based on values in your package.json (`name` and `main`).

Usage no npm install needed!

<script type="module">
  import browserifyStandalone from 'https://cdn.skypack.dev/browserify-standalone';
</script>

README

browserify-standalone

Build Status NPM version NPM downloads LICENSE

Browserify standalone (UMD) build based on values in your package.json (name and main).

$ npm install browserify-standalone --save-dev

usage

Usage: browserify-standalone [options]

Options:

  -h, --help                   output usage information
  -V, --version                output the version number
  -d, --directory [directory]  package directory

example

% ./node_modules/.bin/browserify-standalone

package.json

Given the following package.json, the file somepackage.js will be created.

{
  "name": "somepackage",
  "version": "1.0.0",
  "description": "some package",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "MIT"
}

License

MIT