{"name":"is-in-browser","version":"1.1.1","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","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":"113a4414c2de57969999f53bc7ddba9b0692fae1","_id":"is-in-browser@1.1.1","_shasum":"93e8c121fcdda005404cd673f8697eae7384ce39","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"tuxsudo","email":"jared@tuxsudo.com"},"dist":{"shasum":"93e8c121fcdda005404cd673f8697eae7384ce39","tarball":"http://registry-npm.ywwl.com/is-in-browser/download/is-in-browser-1.1.1.tgz","integrity":"sha512-e2wVWIa024eJcsqac/tG2M7+yfu15t7v22+j2XQtMGlqKrdwtqVW8mRZl5U9U1tZ17rnQy98izCBsd/wqGGSoA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFibgAsgT7hFeezMK77MKf8HjnAtbzkLipbdlbJJL9wrAiEAvRHEXVPllsIRcPBQ2dk08zPZH6N9PlWcQPDjQftnnp4="}],"size":1218,"noattachment":false,"key":"/is-in-browser/-/is-in-browser-1.1.1.tgz"},"maintainers":[{"name":"tuxsudo","email":"jared@tuxsudo.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/is-in-browser-1.1.1.tgz_1483759280744_0.1906801676377654"},"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":1483759281415,"_cnpm_publish_time":1483759281415,"dist-tags":{"latest":"2.0.0"}}