{"name":"is-in-browser","version":"1.1.0","description":"Simple check to see if current app is running in browser","main":"dist/index.js","types":"dist/index.d.ts","jsnext:main":"src/index.js","scripts":{"build":"babel src -d dist && cpy src/index.d.ts dist","test":"babel-tape-runner test/*.js | tap-spec"},"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":"b7c87197bd461b0bbc7173146036f770bb5b2ead","_id":"is-in-browser@1.1.0","_shasum":"f3e03d633d34bcb29aabcece83dc78141cba9b52","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"tuxsudo","email":"jared@tuxsudo.com"},"dist":{"shasum":"f3e03d633d34bcb29aabcece83dc78141cba9b52","tarball":"http://registry-npm.ywwl.com/is-in-browser/download/is-in-browser-1.1.0.tgz","integrity":"sha512-lbTWLKchH7OIjNzEbizu1VqfZnZmCvShuyHlRIscAvNK1NKe1Rydqtqj3WHx8yywdve/QvLoWpT5RIX41DLoPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFAlqMNLFhC51dIeMKjrN+7kxobkLJ8XTCAZUAgJsU1cAiEA8+H38RlCKIIqRtwcPTrRLJBvG/WiJS2zBQ4EpHRt6hU="}],"size":1215,"noattachment":false,"key":"/is-in-browser/-/is-in-browser-1.1.0.tgz"},"maintainers":[{"name":"tuxsudo","email":"jared@tuxsudo.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/is-in-browser-1.1.0.tgz_1483742454857_0.5953066011425108"},"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":1483742457005,"_cnpm_publish_time":1483742457005,"dist-tags":{"latest":"2.0.0"}}