{"_id":"rollup-plugin-node-globals","_rev":"345011","name":"rollup-plugin-node-globals","description":"insert the same globals browserify does","dist-tags":{"latest":"1.4.0"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"time":{"modified":"2021-06-20T02:36:43.000Z","created":"2016-03-10T13:37:00.211Z","1.4.0":"2018-09-11T12:52:41.989Z","1.3.0":"2018-09-04T12:18:16.424Z","1.2.1":"2018-05-07T13:16:51.990Z","1.2.0":"2018-03-13T12:31:09.287Z","1.1.0":"2016-11-16T19:54:23.921Z","1.0.9":"2016-09-22T13:12:11.802Z","1.0.8":"2016-09-19T14:47:27.439Z","1.0.7":"2016-09-08T19:47:14.831Z","1.0.6":"2016-07-27T16:19:48.880Z","1.0.5":"2016-03-17T19:00:05.524Z","1.0.4":"2016-03-14T18:30:09.928Z","1.0.3":"2016-03-10T18:28:23.724Z","1.0.2":"2016-03-10T15:39:04.110Z","1.0.1":"2016-03-10T15:05:54.618Z","1.0.0":"2016-03-10T13:37:00.211Z"},"users":{},"author":{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/calvinmetcalf/rollup-plugin-node-globals.git"},"versions":{"1.4.0":{"name":"rollup-plugin-node-globals","main":"dist/rollup-plugin-node-globals.cjs.js","jsnext:main":"dist/rollup-plugin-node-globals.es6.js","version":"1.4.0","description":"insert the same globals browserify does","scripts":{"test":"mocha test/index.js && jest","pretest":"npm run build","build":"rollup -c -f cjs -o dist/rollup-plugin-node-globals.cjs.js && rollup -c -f es -o dist/rollup-plugin-node-globals.es6.js","prebuild":"rimraf dist","prepublish":"npm run build"},"author":{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},"license":"MIT","dependencies":{"acorn":"^5.7.3","buffer-es6":"^4.9.3","estree-walker":"^0.5.2","magic-string":"^0.22.5","process-es6":"^0.11.6","rollup-pluginutils":"^2.3.1"},"keywords":["rollup-plugin"],"devDependencies":{"babel-core":"^6.26.0","babel-preset-env":"^1.7.0","browserify":"^16.1.0","jest":"^23.5.0","mkdirp":"^0.5.1","mocha":"^5.0.1","rimraf":"^2.6.2","rollup":"^0.64.1","rollup-plugin-babel":"^3.0.3","rollup-plugin-node-resolve":"^3.0.3"},"repository":{"type":"git","url":"git+ssh://git@github.com/calvinmetcalf/rollup-plugin-node-globals.git"},"gitHead":"9ef911c16e33a43e306394d19b7066fa64629403","bugs":{"url":"https://github.com/calvinmetcalf/rollup-plugin-node-globals/issues"},"homepage":"https://github.com/calvinmetcalf/rollup-plugin-node-globals#readme","_id":"rollup-plugin-node-globals@1.4.0","_npmVersion":"6.4.0","_nodeVersion":"10.8.0","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"dist":{"shasum":"5e1f24a9bb97c0ef51249f625e16c7e61b7c020b","size":5483,"noattachment":false,"key":"/rollup-plugin-node-globals/-/rollup-plugin-node-globals-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-node-globals/download/rollup-plugin-node-globals-1.4.0.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-node-globals_1.4.0_1536670361869_0.5170724377635199"},"_hasShrinkwrap":false,"publish_time":1536670361989,"_cnpm_publish_time":1536670361989},"1.3.0":{"name":"rollup-plugin-node-globals","main":"dist/rollup-plugin-node-globals.cjs.js","jsnext:main":"dist/rollup-plugin-node-globals.es6.js","version":"1.3.0","description":"insert the same globals browserify does","scripts":{"test":"mocha test/index.js && jest","pretest":"npm run build","build":"rollup -c -f cjs -o dist/rollup-plugin-node-globals.cjs.js && rollup -c -f es -o dist/rollup-plugin-node-globals.es6.js","prebuild":"rimraf dist","prepublish":"npm run build"},"author":{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},"license":"MIT","dependencies":{"acorn":"^5.5.0","buffer-es6":"^4.9.3","estree-walker":"^0.5.1","magic-string":"^0.22.4","process-es6":"^0.11.6","rollup-pluginutils":"^2.0.1"},"keywords":["rollup-plugin"],"devDependencies":{"babel-core":"^6.26.0","babel-preset-env":"^1.7.0","browserify":"^16.1.0","jest":"^23.5.0","mkdirp":"^0.5.1","mocha":"^5.0.1","rimraf":"^2.6.2","rollup":"^0.64.1","rollup-plugin-babel":"^3.0.3","rollup-plugin-node-resolve":"^3.0.3"},"repository":{"type":"git","url":"git+ssh://git@github.com/calvinmetcalf/rollup-plugin-node-globals.git"},"gitHead":"4540b1595ec15caa2f669e50c6be091c36f7c46a","bugs":{"url":"https://github.com/calvinmetcalf/rollup-plugin-node-globals/issues"},"homepage":"https://github.com/calvinmetcalf/rollup-plugin-node-globals#readme","_id":"rollup-plugin-node-globals@1.3.0","_npmVersion":"6.4.0","_nodeVersion":"10.8.0","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"dist":{"shasum":"ee277271d199f3c2d73b80c46b0e53a07463db99","size":5477,"noattachment":false,"key":"/rollup-plugin-node-globals/-/rollup-plugin-node-globals-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-node-globals/download/rollup-plugin-node-globals-1.3.0.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-node-globals_1.3.0_1536063496319_0.5362229736460693"},"_hasShrinkwrap":false,"publish_time":1536063496424,"_cnpm_publish_time":1536063496424},"1.2.1":{"name":"rollup-plugin-node-globals","main":"dist/rollup-plugin-node-globals.cjs.js","jsnext:main":"dist/rollup-plugin-node-globals.es6.js","version":"1.2.1","description":"insert the same globals browserify does","files":["src","dist","README.md"],"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c -f cjs -o dist/rollup-plugin-node-globals.cjs.js && rollup -c -f es -o dist/rollup-plugin-node-globals.es6.js","prebuild":"rimraf dist && mkdirp dist"},"author":{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},"license":"MIT","dependencies":{"acorn":"^5.5.0","buffer-es6":"^4.9.3","estree-walker":"^0.5.1","magic-string":"^0.22.4","process-es6":"^0.11.6","rollup-pluginutils":"^2.0.1"},"keywords":["rollup-plugin"],"devDependencies":{"babel-core":"^6.26.0","babel-preset-es2015-rollup":"^3.0.0","browserify":"^16.1.0","mkdirp":"^0.5.1","mocha":"^5.0.1","rimraf":"^2.6.2","rollup":"^0.56.3","rollup-plugin-babel":"^3.0.3","rollup-plugin-node-resolve":"^3.0.3"},"repository":{"type":"git","url":"git+ssh://git@github.com/calvinmetcalf/rollup-plugin-node-globals.git"},"gitHead":"2dd05e1c3380520f3fe03e080b988c59efb3fa14","bugs":{"url":"https://github.com/calvinmetcalf/rollup-plugin-node-globals/issues"},"homepage":"https://github.com/calvinmetcalf/rollup-plugin-node-globals#readme","_id":"rollup-plugin-node-globals@1.2.1","_npmVersion":"6.0.0","_nodeVersion":"8.11.1","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"dist":{"shasum":"2bd8309c19a0390b54cfac19a3bc13eabf3e5541","size":5204,"noattachment":false,"key":"/rollup-plugin-node-globals/-/rollup-plugin-node-globals-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-node-globals/download/rollup-plugin-node-globals-1.2.1.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-node-globals_1.2.1_1525699011920_0.14709394653235974"},"_hasShrinkwrap":false,"publish_time":1525699011990,"_cnpm_publish_time":1525699011990},"1.2.0":{"name":"rollup-plugin-node-globals","main":"dist/rollup-plugin-node-globals.cjs.js","jsnext:main":"dist/rollup-plugin-node-globals.es6.js","version":"1.2.0","description":"insert the same globals browserify does","files":["src","dist","README.md"],"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c -f cjs -o dist/rollup-plugin-node-globals.cjs.js && rollup -c -f es -o dist/rollup-plugin-node-globals.es6.js","prebuild":"rimraf dist && mkdirp dist"},"author":{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},"license":"MIT","dependencies":{"acorn":"^5.5.0","buffer-es6":"^4.9.3","estree-walker":"^0.5.1","magic-string":"^0.22.4","process-es6":"^0.11.6","rollup-pluginutils":"^2.0.1"},"keywords":["rollup-plugin"],"devDependencies":{"babel-core":"^6.26.0","babel-preset-es2015-rollup":"^3.0.0","browserify":"^16.1.0","mkdirp":"^0.5.1","mocha":"^5.0.1","rimraf":"^2.6.2","rollup":"^0.56.3","rollup-plugin-babel":"^3.0.3","rollup-plugin-node-resolve":"^3.0.3"},"repository":{"type":"git","url":"git+ssh://git@github.com/calvinmetcalf/rollup-plugin-node-globals.git"},"gitHead":"e6e8cec76766d562fc964d7cf7c31570f96d7a70","bugs":{"url":"https://github.com/calvinmetcalf/rollup-plugin-node-globals/issues"},"homepage":"https://github.com/calvinmetcalf/rollup-plugin-node-globals#readme","_id":"rollup-plugin-node-globals@1.2.0","_npmVersion":"5.7.1","_nodeVersion":"8.6.0","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"dist":{"shasum":"1a7ff0eb988430cfd76a12fb35767374b49a6d31","size":5197,"noattachment":false,"key":"/rollup-plugin-node-globals/-/rollup-plugin-node-globals-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-node-globals/download/rollup-plugin-node-globals-1.2.0.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-node-globals_1.2.0_1520944267514_0.7902794033986094"},"_hasShrinkwrap":false,"publish_time":1520944269287,"_cnpm_publish_time":1520944269287},"1.1.0":{"name":"rollup-plugin-node-globals","main":"dist/rollup-plugin-node-globals.cjs.js","jsnext:main":"dist/rollup-plugin-node-globals.es6.js","version":"1.1.0","description":"insert the same globals browserify does","files":["src","dist","README.md"],"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c -f cjs -o dist/rollup-plugin-node-globals.cjs.js && rollup -c -f es6 -o dist/rollup-plugin-node-globals.es6.js","prebuild":"rimraf dist && mkdirp dist"},"author":{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},"license":"MIT","dependencies":{"acorn":"^4.0.1","buffer-es6":"^4.9.1","estree-walker":"^0.2.1","magic-string":"^0.16.0","process-es6":"^0.11.3","rollup-pluginutils":"^1.5.2"},"keywords":["rollup-plugin"],"devDependencies":{"babel-preset-es2015-rollup":"^1.1.1","browserify":"^13.0.0","mkdirp":"^0.5.1","mocha":"^2.4.5","rimraf":"^2.5.4","rollup":"^0.36.0","rollup-plugin-babel":"^2.4.0","rollup-plugin-node-resolve":"^2.0.0"},"repository":{"type":"git","url":"git+ssh://git@github.com/calvinmetcalf/rollup-plugin-node-globals.git"},"gitHead":"a767c21fbb1d99a4913bca98ca94e0a4f69c0b28","bugs":{"url":"https://github.com/calvinmetcalf/rollup-plugin-node-globals/issues"},"homepage":"https://github.com/calvinmetcalf/rollup-plugin-node-globals#readme","_id":"rollup-plugin-node-globals@1.1.0","_shasum":"7efd8d611d132737829e804e9f51f50962af451f","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.9.1","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"dist":{"shasum":"7efd8d611d132737829e804e9f51f50962af451f","size":5247,"noattachment":false,"key":"/rollup-plugin-node-globals/-/rollup-plugin-node-globals-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-node-globals/download/rollup-plugin-node-globals-1.1.0.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rollup-plugin-node-globals-1.1.0.tgz_1479326061558_0.706775616388768"},"directories":{},"publish_time":1479326063921,"_cnpm_publish_time":1479326063921,"_hasShrinkwrap":false},"1.0.9":{"name":"rollup-plugin-node-globals","main":"dist/rollup-plugin-node-globals.cjs.js","jsnext:main":"dist/rollup-plugin-node-globals.es6.js","version":"1.0.9","description":"insert the same globals browserify does","files":["src","dist","README.md"],"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c -f cjs -o dist/rollup-plugin-node-globals.cjs.js && rollup -c -f es6 -o dist/rollup-plugin-node-globals.es6.js","prebuild":"rimraf dist && mkdirp dist"},"author":{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},"license":"MIT","dependencies":{"acorn":"^4.0.1","buffer-es6":"^4.9.1","estree-walker":"^0.2.1","magic-string":"^0.16.0","process-es6":"^0.11.3","rollup-pluginutils":"^1.5.2"},"keywords":["rollup-plugin"],"devDependencies":{"babel-preset-es2015-rollup":"^1.1.1","browserify":"^13.0.0","mkdirp":"^0.5.1","mocha":"^2.4.5","rimraf":"^2.5.4","rollup":"^0.25.4","rollup-plugin-babel":"^2.4.0","rollup-plugin-node-resolve":"^2.0.0"},"repository":{"type":"git","url":"git+ssh://git@github.com/calvinmetcalf/rollup-plugin-node-globals.git"},"gitHead":"cb41fa2c60f07a07e97dca19eb3cd481e5d17d1e","bugs":{"url":"https://github.com/calvinmetcalf/rollup-plugin-node-globals/issues"},"homepage":"https://github.com/calvinmetcalf/rollup-plugin-node-globals#readme","_id":"rollup-plugin-node-globals@1.0.9","_shasum":"5fa8faf0b56b02cdbf9a82530a7d0288ad77bee5","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.6.0","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"dist":{"shasum":"5fa8faf0b56b02cdbf9a82530a7d0288ad77bee5","size":5163,"noattachment":false,"key":"/rollup-plugin-node-globals/-/rollup-plugin-node-globals-1.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-node-globals/download/rollup-plugin-node-globals-1.0.9.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/rollup-plugin-node-globals-1.0.9.tgz_1474549931056_0.03686863020993769"},"directories":{},"publish_time":1474549931802,"_cnpm_publish_time":1474549931802,"_hasShrinkwrap":false},"1.0.8":{"name":"rollup-plugin-node-globals","main":"dist/rollup-plugin-node-globals.cjs.js","jsnext:main":"dist/rollup-plugin-node-globals.es6.js","version":"1.0.8","description":"insert the same globals browserify does","files":["src","dist","README.md"],"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c -f cjs -o dist/rollup-plugin-node-globals.cjs.js && rollup -c -f es6 -o dist/rollup-plugin-node-globals.es6.js","prebuild":"rimraf dist && mkdirp dist"},"author":{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},"license":"MIT","dependencies":{"acorn":"^4.0.1","buffer-es6":"^4.9.1","estree-walker":"^0.2.1","magic-string":"^0.16.0","process-es6":"^0.11.3","rollup-pluginutils":"^1.5.2"},"keywords":["rollup-plugin"],"devDependencies":{"babel-preset-es2015-rollup":"^1.1.1","browserify":"^13.0.0","mkdirp":"^0.5.1","mocha":"^2.4.5","rimraf":"^2.5.4","rollup":"^0.25.4","rollup-plugin-babel":"^2.4.0","rollup-plugin-node-resolve":"^2.0.0"},"repository":{"type":"git","url":"git@github.com:calvinmetcalf/rollup-plugin-node-globals.git"},"gitHead":"04bd67328f4d8f951865a666484772daa06cf908","bugs":{"url":"https://github.com/calvinmetcalf/rollup-plugin-node-globals/issues"},"_id":"rollup-plugin-node-globals@1.0.8","_shasum":"b97ba91a2ff47de4beb041a11ebe4ba6a0e95f19","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"dist":{"shasum":"b97ba91a2ff47de4beb041a11ebe4ba6a0e95f19","size":5146,"noattachment":false,"key":"/rollup-plugin-node-globals/-/rollup-plugin-node-globals-1.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-node-globals/download/rollup-plugin-node-globals-1.0.8.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rollup-plugin-node-globals-1.0.8.tgz_1474296445833_0.7906592439394444"},"directories":{},"publish_time":1474296447439,"_cnpm_publish_time":1474296447439,"_hasShrinkwrap":false},"1.0.7":{"name":"rollup-plugin-node-globals","main":"dist/rollup-plugin-node-globals.cjs.js","jsnext:main":"dist/rollup-plugin-node-globals.es6.js","version":"1.0.7","description":"insert the same globals browserify does","files":["src","dist","README.md"],"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c -f cjs -o dist/rollup-plugin-node-globals.cjs.js && rollup -c -f es6 -o dist/rollup-plugin-node-globals.es6.js","prebuild":"rimraf dist && mkdirp dist"},"author":{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},"license":"MIT","dependencies":{"acorn":"^4.0.1","buffer-es6":"^4.9.1","estree-walker":"^0.2.1","magic-string":"^0.16.0","process-es6":"^0.11.3","rollup-pluginutils":"^1.5.2"},"keywords":["rollup-plugin"],"devDependencies":{"babel-preset-es2015-rollup":"^1.1.1","browserify":"^13.0.0","mkdirp":"^0.5.1","mocha":"^2.4.5","rimraf":"^2.5.4","rollup":"^0.25.4","rollup-plugin-babel":"^2.4.0"},"repository":{"type":"git","url":"git@github.com:calvinmetcalf/rollup-plugin-node-globals.git"},"gitHead":"6c47f086a25d9bf8fafaaaac75c8796bc71a7b7a","bugs":{"url":"https://github.com/calvinmetcalf/rollup-plugin-node-globals/issues"},"_id":"rollup-plugin-node-globals@1.0.7","_shasum":"aa90095547be3f31e488aadc7433708e23559c50","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"dist":{"shasum":"aa90095547be3f31e488aadc7433708e23559c50","size":5083,"noattachment":false,"key":"/rollup-plugin-node-globals/-/rollup-plugin-node-globals-1.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-node-globals/download/rollup-plugin-node-globals-1.0.7.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/rollup-plugin-node-globals-1.0.7.tgz_1473364033479_0.42842433601617813"},"directories":{},"publish_time":1473364034831,"_cnpm_publish_time":1473364034831,"_hasShrinkwrap":false},"1.0.6":{"name":"rollup-plugin-node-globals","main":"dist/rollup-plugin-node-globals.cjs.js","jsnext:main":"dist/rollup-plugin-node-globals.es6.js","version":"1.0.6","description":"insert the same globals browserify does","files":["src","dist","README.md"],"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c -f cjs -o dist/rollup-plugin-node-globals.cjs.js && rollup -c -f es6 -o dist/rollup-plugin-node-globals.es6.js","create-buffer":"browserify src/buffer-raw.js | derequire | derequire --from module --to ___mod | derequire --from exports --to _expor_ > tmp/buffer-raw.js","prebuild":"rimraf dist tmp && mkdirp tmp dist && npm run create-buffer && cat src/buffer-prefix.js tmp/buffer-raw.js src/buffer-suffix.js > dist/buffer.js && rimraf tmp"},"author":{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},"license":"MIT","dependencies":{"process-es6":"^0.11.3","rollup-plugin-inject":"^1.4.0"},"keywords":["rollup-plugin"],"devDependencies":{"babel-preset-es2015-rollup":"^1.1.1","browserify":"^13.0.0","mkdirp":"^0.5.1","mocha":"^2.4.5","rimraf":"^2.5.4","rollup":"^0.25.4","rollup-plugin-babel":"^2.4.0"},"repository":{"type":"git","url":"git@github.com:calvinmetcalf/rollup-plugin-node-globals.git"},"gitHead":"3346949f927ace6ff7a6be03c3fe569d2b896965","bugs":{"url":"https://github.com/calvinmetcalf/rollup-plugin-node-globals/issues"},"_id":"rollup-plugin-node-globals@1.0.6","_shasum":"52786ed7ea6ac4abd6f05700f3a81284128d8e74","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"dist":{"shasum":"52786ed7ea6ac4abd6f05700f3a81284128d8e74","size":14851,"noattachment":false,"key":"/rollup-plugin-node-globals/-/rollup-plugin-node-globals-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-node-globals/download/rollup-plugin-node-globals-1.0.6.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rollup-plugin-node-globals-1.0.6.tgz_1469636386967_0.17778919963166118"},"directories":{},"publish_time":1469636388880,"_cnpm_publish_time":1469636388880,"_hasShrinkwrap":false},"1.0.5":{"name":"rollup-plugin-node-globals","main":"dist/rollup-plugin-node-globals.cjs.js","jsnext:main":"dist/rollup-plugin-node-globals.es6.js","version":"1.0.5","description":"insert the same globals browserify does","files":["src","dist","README.md"],"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c -f cjs -o dist/rollup-plugin-node-globals.cjs.js && rollup -c -f es6 -o dist/rollup-plugin-node-globals.es6.js","create-buffer":"browserify src/buffer-raw.js | derequire | derequire --from module --to ___mod | derequire --from exports --to _expor_ > tmp/buffer-raw.js","prebuild":"rm -rf dist && rm -rf tmp && mkdir tmp && mkdir dist && npm run create-buffer && cat src/buffer-prefix.js tmp/buffer-raw.js src/buffer-suffix.js > dist/buffer.js && rm -rf tmp","prepublish":"npm test"},"author":{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},"license":"MIT","dependencies":{"process-es6":"^0.11.3","rollup-plugin-inject":"^1.4.0"},"keywords":["rollup-plugin"],"devDependencies":{"babel-preset-es2015-rollup":"^1.1.1","browserify":"^13.0.0","mocha":"^2.4.5","rollup":"^0.25.4","rollup-plugin-babel":"^2.4.0"},"repository":{"type":"git","url":"git+ssh://git@github.com/calvinmetcalf/rollup-plugin-node-globals.git"},"gitHead":"e28bb207707971530c45fe51189dc32411dda8c2","bugs":{"url":"https://github.com/calvinmetcalf/rollup-plugin-node-globals/issues"},"homepage":"https://github.com/calvinmetcalf/rollup-plugin-node-globals#readme","_id":"rollup-plugin-node-globals@1.0.5","_shasum":"cf1172d165bc41d6dd943177598e18f9b18b1473","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"dist":{"shasum":"cf1172d165bc41d6dd943177598e18f9b18b1473","size":13511,"noattachment":false,"key":"/rollup-plugin-node-globals/-/rollup-plugin-node-globals-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-node-globals/download/rollup-plugin-node-globals-1.0.5.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/rollup-plugin-node-globals-1.0.5.tgz_1458241203294_0.10673573543317616"},"directories":{},"publish_time":1458241205524,"_cnpm_publish_time":1458241205524,"_hasShrinkwrap":false},"1.0.4":{"name":"rollup-plugin-node-globals","main":"dist/rollup-plugin-node-globals.cjs.js","jsnext:main":"dist/rollup-plugin-node-globals.es6.js","version":"1.0.4","description":"insert the same globals browserify does","files":["src","dist","README.md"],"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c -f cjs -o dist/rollup-plugin-node-globals.cjs.js && rollup -c -f es6 -o dist/rollup-plugin-node-globals.es6.js","create-buffer":"browserify src/buffer-raw.js | derequire | derequire --from module --to ___mod | derequire --from exports --to _expor_ > tmp/buffer-raw.js","prebuild":"rm -rf dist && rm -rf tmp && mkdir tmp && mkdir dist && npm run create-buffer && cat src/buffer-prefix.js tmp/buffer-raw.js src/buffer-suffix.js > dist/buffer.js && rm -rf tmp","prepublish":"npm test"},"author":{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},"license":"MIT","dependencies":{"process-es6":"^0.11.3","rollup-plugin-inject":"^1.4.0"},"keywords":["rollup-plugin"],"devDependencies":{"babel-preset-es2015-rollup":"^1.1.1","browserify":"^13.0.0","mocha":"^2.4.5","rollup":"^0.25.4","rollup-plugin-babel":"^2.4.0"},"repository":{"type":"git","url":"git+ssh://git@github.com/calvinmetcalf/rollup-plugin-node-globals.git"},"gitHead":"28334beea77fa748a401024be0a4aa1bc52f83f8","bugs":{"url":"https://github.com/calvinmetcalf/rollup-plugin-node-globals/issues"},"homepage":"https://github.com/calvinmetcalf/rollup-plugin-node-globals#readme","_id":"rollup-plugin-node-globals@1.0.4","_shasum":"1aa3e04ce7dcc0b8a9d4c4d8649a61a4513170a3","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"dist":{"shasum":"1aa3e04ce7dcc0b8a9d4c4d8649a61a4513170a3","size":13415,"noattachment":false,"key":"/rollup-plugin-node-globals/-/rollup-plugin-node-globals-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-node-globals/download/rollup-plugin-node-globals-1.0.4.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/rollup-plugin-node-globals-1.0.4.tgz_1457980207763_0.21404725522734225"},"directories":{},"publish_time":1457980209928,"_cnpm_publish_time":1457980209928,"_hasShrinkwrap":false},"1.0.3":{"name":"rollup-plugin-node-globals","main":"dist/rollup-plugin-node-globals.cjs.js","jsnext:main":"dist/rollup-plugin-node-globals.es6.js","version":"1.0.3","description":"insert the same globals browserify does","files":["src","dist","README.md"],"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c -f cjs -o dist/rollup-plugin-node-globals.cjs.js && rollup -c -f es6 -o dist/rollup-plugin-node-globals.es6.js","prebuild":"rm -rf dist && rm -rf tmp && mkdir tmp && mkdir dist && browserify src/buffer-raw.js > tmp/buffer-raw.js && cat src/buffer-prefix.js tmp/buffer-raw.js src/buffer-suffix.js > dist/buffer.js && rm -rf tmp","prepublish":"npm test"},"author":{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},"license":"MIT","dependencies":{"rollup-plugin-inject":"^1.4.0"},"keywords":["rollup-plugin"],"devDependencies":{"babel-preset-es2015-rollup":"^1.1.1","browserify":"^13.0.0","mocha":"^2.4.5","rollup":"^0.25.4","rollup-plugin-babel":"^2.4.0"},"repository":{"type":"git","url":"git+ssh://git@github.com/calvinmetcalf/rollup-plugin-node-globals.git"},"gitHead":"2095bd9862891276db522fd776ef9adbb09163d4","bugs":{"url":"https://github.com/calvinmetcalf/rollup-plugin-node-globals/issues"},"homepage":"https://github.com/calvinmetcalf/rollup-plugin-node-globals#readme","_id":"rollup-plugin-node-globals@1.0.3","_shasum":"af135ec9579f7ec76ac5febb8c525ec28d1ba3dd","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"dist":{"shasum":"af135ec9579f7ec76ac5febb8c525ec28d1ba3dd","size":14118,"noattachment":false,"key":"/rollup-plugin-node-globals/-/rollup-plugin-node-globals-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-node-globals/download/rollup-plugin-node-globals-1.0.3.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rollup-plugin-node-globals-1.0.3.tgz_1457634501260_0.04986986285075545"},"directories":{},"publish_time":1457634503724,"_cnpm_publish_time":1457634503724,"_hasShrinkwrap":false},"1.0.2":{"name":"rollup-plugin-node-globals","main":"dist/rollup-plugin-node-globals.cjs.js","jsnext:main":"dist/rollup-plugin-node-globals.es6.js","version":"1.0.2","description":"insert the same globals browserify does","files":["src","dist","README.md"],"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c -f cjs -o dist/rollup-plugin-node-globals.cjs.js && rollup -c -f es6 -o dist/rollup-plugin-node-globals.es6.js","prebuild":"rm -rf dist && rm -rf tmp && mkdir tmp && mkdir dist && browserify src/buffer-raw.js > tmp/buffer-raw.js && cat src/buffer-prefix.js tmp/buffer-raw.js src/buffer-suffix.js > dist/buffer.js && rm -rf tmp","prepublish":"npm test"},"author":{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},"license":"MIT","dependencies":{"rollup-plugin-inject":"^1.4.0"},"keywords":["rollup-plugin"],"devDependencies":{"babel-preset-es2015-rollup":"^1.1.1","browserify":"^13.0.0","mocha":"^2.4.5","rollup":"^0.25.4","rollup-plugin-babel":"^2.4.0"},"gitHead":"73f74f6d0c87b5b4ac365b36956799b5601759f8","_id":"rollup-plugin-node-globals@1.0.2","_shasum":"341dbc8df38710553a43580b7c589d426e25dc5d","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"dist":{"shasum":"341dbc8df38710553a43580b7c589d426e25dc5d","size":14083,"noattachment":false,"key":"/rollup-plugin-node-globals/-/rollup-plugin-node-globals-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-node-globals/download/rollup-plugin-node-globals-1.0.2.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rollup-plugin-node-globals-1.0.2.tgz_1457624341915_0.8750675150658935"},"directories":{},"publish_time":1457624344110,"_cnpm_publish_time":1457624344110,"_hasShrinkwrap":false},"1.0.1":{"name":"rollup-plugin-node-globals","main":"index.js","jsnext:main":"dist/rollup-plugin-node-globals.es6.js","version":"1.0.1","description":"insert the same globals browserify does","files":["src","dist","README.md"],"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c -f cjs -o dist/rollup-plugin-node-globals.cjs.js && rollup -c -f es6 -o dist/rollup-plugin-node-globals.es6.js","prebuild":"rm -rf dist && rm -rf tmp && mkdir tmp && mkdir dist && browserify src/buffer-raw.js > tmp/buffer-raw.js && cat src/buffer-prefix.js tmp/buffer-raw.js src/buffer-suffix.js > dist/buffer.js && rm -rf tmp","prepublish":"npm test"},"author":{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},"license":"MIT","dependencies":{"rollup-plugin-inject":"^1.4.0"},"keywords":["rollup-plugin"],"devDependencies":{"babel-preset-es2015-rollup":"^1.1.1","browserify":"^13.0.0","mocha":"^2.4.5","rollup":"^0.25.4","rollup-plugin-babel":"^2.4.0"},"gitHead":"2a725cb065abbec7e6d0454b55b0ed44ba96401f","_id":"rollup-plugin-node-globals@1.0.1","_shasum":"503aa94e9bee7b6b22f3fc160998846f4c67d8ca","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"dist":{"shasum":"503aa94e9bee7b6b22f3fc160998846f4c67d8ca","size":14089,"noattachment":false,"key":"/rollup-plugin-node-globals/-/rollup-plugin-node-globals-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-node-globals/download/rollup-plugin-node-globals-1.0.1.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rollup-plugin-node-globals-1.0.1.tgz_1457622352023_0.3447012542746961"},"directories":{},"publish_time":1457622354618,"_cnpm_publish_time":1457622354618,"_hasShrinkwrap":false},"1.0.0":{"name":"rollup-plugin-node-globals","main":"index.js","jsnext:main":"dist/rollup-plugin-node-globals.es6.js","version":"1.0.0","description":"insert the same globals browserify does","files":["src","dist","README.md"],"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c -f cjs -o dist/rollup-plugin-node-globals.cjs.js && rollup -c -f es6 -o dist/rollup-plugin-node-globals.es6.js","prebuild":"rm -rf dist && rm -rf tmp && mkdir tmp && mkdir dist && browserify src/buffer-raw.js > tmp/buffer-raw.js && cat src/buffer-prefix.js tmp/buffer-raw.js src/buffer-suffix.js > dist/buffer.js && rm -rf tmp","prepublish":"npm test"},"author":{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},"license":"MIT","dependencies":{"rollup-plugin-inject":"^1.4.0"},"keywords":["rollup-plugin"],"devDependencies":{"babel-preset-es2015-rollup":"^1.1.1","browserify":"^13.0.0","mocha":"^2.4.5","rollup":"^0.25.4","rollup-plugin-babel":"^2.4.0"},"gitHead":"57450da25c8943b8a680ef517abfbc46255c6a3a","_id":"rollup-plugin-node-globals@1.0.0","_shasum":"8ca920715e40014d0ec5ce14b034576ed31abdee","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"dist":{"shasum":"8ca920715e40014d0ec5ce14b034576ed31abdee","size":14199,"noattachment":false,"key":"/rollup-plugin-node-globals/-/rollup-plugin-node-globals-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-node-globals/download/rollup-plugin-node-globals-1.0.0.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/rollup-plugin-node-globals-1.0.0.tgz_1457617017622_0.4084143787622452"},"directories":{},"publish_time":1457617020211,"_cnpm_publish_time":1457617020211,"_hasShrinkwrap":false}},"readme":"rollup-plugin-node-globals\n===\n\nPlugin to insert node globals including so code that works with browserify should work even if it uses process or buffers. This is based on [rollup-plugin-inject\n](https://github.com/rollup/rollup-plugin-inject).\n\n- process\n- global\n- Buffer\n- `__dirname`\n- `__filename`\n\nPlus `process.nextTick` and `process.browser` are optimized to only pull in\nthemselves and `__dirname` and `__filename` point to the file on disk\n\nThere are a few options to control output\n- `process` - pass `false` to disable process polyfilling\n- `global` - pass `false` to disable global polyfilling\n- `buffer` - pass `false` to disable Buffer polyfilling\n- `dirname` - pass `false` to disable `__dirname` polyfilling\n- `filename` - pass `false` to disable `__filename` polyfilling\n- `baseDir` which is used for resolving `__dirname` and `__filename`.\n\n# examples\n\n```js\nvar foo;\nif (process.browser) {\n  foo = 'bar';\n} else {\n  foo = 'baz';\n}\n```\n\nturns into\n\n```js\nimport {browser} from 'path/to/process';\nvar foo;\nif (browser) {\n  foo = 'bar';\n} else {\n  foo = 'baz';\n}\n```\n\nbut with rollup that ends up being\n\n```js\nvar browser = true;\nvar foo;\nif (browser) {\n  foo = 'bar';\n} else {\n  foo = 'baz';\n}\n```\n\nor\n\n```js\nvar timeout;\nif (global.setImmediate) {\n  timeout = global.setImmediate;\n} else {\n  timeout = global.setTimeout;\n}\nexport default timeout;\n```\n\nturns into\n\n```js\nimport {_global} from 'path/to/global.js';\nvar timeout;\nif (_global.setImmediate) {\n  timeout = _global.setImmediate;\n} else {\n  timeout = _global.setTimeout;\n}\nexport default timeout;\n\n```\n\nwhich rollup turns into\n\n```js\nvar _global = typeof global !== \"undefined\" ? global :\n            typeof self !== \"undefined\" ? self :\n            typeof window !== \"undefined\" ? window : {}\n\nvar timeout;\nif (_global.setImmediate) {\n  timeout = _global.setImmediate;\n} else {\n  timeout = _global.setTimeout;\n}\nvar timeout$1 = timeout;\n\nexport default timeout$1;\n```\n\nWith that top piece only showing up once no matter how many times global was used.\n","_attachments":{},"homepage":"https://github.com/calvinmetcalf/rollup-plugin-node-globals#readme","bugs":{"url":"https://github.com/calvinmetcalf/rollup-plugin-node-globals/issues"},"license":"MIT"}