{"name":"is-in-browser","version":"1.1.3","description":"Simple check to see if current app is running in browser","main":"dist/index.js","module":"dist/module.js","types":"dist/index.d.ts","scripts":{"build":"BABEL_ENV=cjs babel src -d dist && BABEL_ENV=module babel src/index.js -o dist/module.js && cpy src/index.d.ts dist","test":"babel-tape-runner test/*.js | tap-spec","prepublish":"npm run build"},"keywords":[],"license":"MIT","dependencies":{},"devDependencies":{"babel":"^6.3.26","babel-cli":"^6.4.5","babel-eslint":"^4.1.6","babel-preset-es2015":"^6.3.13","babel-preset-stage-2":"^6.3.13","babel-tape-runner":"^2.0.1","cpy-cli":"^1.0.1","eslint":"^1.10.3","eslint-config-airbnb":"^4.0.0","tap-spec":"^4.1.1","tape":"^4.4.0"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/tuxsudo/is-in-browser.git"},"author":{"name":"Jared Anderson"},"bugs":{"url":"https://github.com/tuxsudo/is-in-browser/issues"},"homepage":"https://github.com/tuxsudo/is-in-browser#readme","gitHead":"653d0586c8d40db93262536ec60a4d2d50f3d78d","_id":"is-in-browser@1.1.3","_shasum":"56ff4db683a078c6082eb95dad7dc62e1d04f835","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"tuxsudo","email":"jared@tuxsudo.com"},"dist":{"shasum":"56ff4db683a078c6082eb95dad7dc62e1d04f835","tarball":"http://registry-npm.ywwl.com/is-in-browser/download/is-in-browser-1.1.3.tgz","integrity":"sha512-FeXIBgG/CPGd/WUxuEyvgGTEfwiG9Z4EKGxjNMRqviiIIfsmgrpnHLffEDdwUHqNva1VEW91o3xBT/m8Elgl9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJ97aEeltuy1HHcNxiXMQ/3wgDShkfHZrrF/PGexvXqAIgc7/QYj01hqpUojv70NiOq1N3TFmt//tq+YTvEtLv8n0="}],"size":1594,"noattachment":false,"key":"/is-in-browser/-/is-in-browser-1.1.3.tgz"},"maintainers":[{"name":"tuxsudo","email":"jared@tuxsudo.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/is-in-browser-1.1.3.tgz_1484458002909_0.8532413989305496"},"readme":"# Is In Browser?\n\n```js\nimport isBrowser from \"is-in-browser\";\n\nif (isBrowser) {\n  //...\n}\n```\n\nMore thoroughly:\n\n```js\nimport { isJsDom, isNode, isBrowser } from \"is-in-browser\";\n\nif (isBrowser) {\n  // you're in the browser\n  // jsdom considered in browser\n}\n\nif (isJsDom) {\n  // you're in the JSDom\n}\n\nif (isNode) {\n  // you're in the Node\n}\n```\n\n## CommonJS\n\nFor those not using Babel / ES6 Modules\n\n```js\nvar isBrowser = require('is-in-browser').default;\n\nif(isBrowser) { //... }\n```\n","publish_time":1484458003126,"_cnpm_publish_time":1484458003126,"dist-tags":{"latest":"2.0.0"}}