node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

brpkg

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