brpkg

0.1.0 • Public • Published

brpkg

browserify plugin that inlines things like require('../package.json').version

example

for a main.js:

console.log(require('../package.json').version);

and a package.json:

{
    "name": "beep",
    "version": "1.0.0"
}

turns into:

console.log("1.0.0");

license

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i brpkg

Weekly Downloads

1

Version

0.1.0

License

none

Last publish

Collaborators

  • curvedmark