UNPKG

global-var

Version:

Get the correct 'global' variable for the current runtime environment (`window` in browser, `global` in node, etc)

40 lines (39 loc) 1.09 kB
{ "name": "global-var", "description": "Get the correct 'global' variable for the current runtime environment (`window` in browser, `global` in node, etc)", "version": "0.1.0", "homepage": "https://github.com/AndreasPizsa/global-var", "author": "Andreas Pizsa (https://github.com/AndreasPizsa)", "repository": "AndreasPizsa/global-var", "bugs": { "url": "https://github.com/AndreasPizsa/global-var/issues" }, "license": "MIT", "files": [ "index.js" ], "main": "index.js", "engines": { "node": ">=0.10.0" }, "scripts": { "test": "./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage" }, "dependencies": {}, "devDependencies": { "coveralls": "*", "istanbul": "*", "mocha": "*", "mocha-lcov-reporter": "*", "should": "*" }, "keywords": [ "window", "global", "setTimeout", "setInterval" ], "publishConfig": { "registry": "https://registry.npmjs.org/" } }