{"_id":"is-browser","_rev":"36977","name":"is-browser","description":"Test whether you're a component in browser or a package in npm","dist-tags":{"latest":"2.1.0"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"time":{"modified":"2021-06-03T10:09:12.000Z","created":"2012-12-23T15:51:33.136Z","2.1.0":"2018-09-11T07:49:37.079Z","2.0.1":"2014-07-25T13:42:35.922Z","2.0.0":"2013-02-23T11:59:57.789Z","1.0.0":"2012-12-23T15:51:33.136Z"},"users":{"koulmomo":true},"author":{"name":"ForbesLindesay"},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/is-browser.git"},"versions":{"2.1.0":{"name":"is-browser","version":"2.1.0","description":"Test whether you're a component in browser or a package in npm","main":"server.js","types":"server.d.ts","repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/is-browser.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","browser":"client.js","scripts":{"start":"node server.js"},"gitHead":"ab20ae0c7f3107c285ee8d5ba89dd9e0da9d4b8c","bugs":{"url":"https://github.com/ForbesLindesay/is-browser/issues"},"homepage":"https://github.com/ForbesLindesay/is-browser#readme","_id":"is-browser@2.1.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"fc084d59a5fced307d6708c59356bad7007371a9","size":1332,"noattachment":false,"key":"/is-browser/-/is-browser-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-browser/download/is-browser-2.1.0.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-browser_2.1.0_1536652176750_0.49182385195928613"},"_hasShrinkwrap":false,"publish_time":1536652177079,"_cnpm_publish_time":1536652177079},"2.0.1":{"name":"is-browser","version":"2.0.1","description":"Test whether you're a component in browser or a package in npm","main":"server.js","repository":{"type":"git","url":"https://github.com/ForbesLindesay/is-browser.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","browser":"client.js","scripts":{"start":"node server.js"},"gitHead":"42574af5712c2344387b60fddd2a96a4ba05c3d5","bugs":{"url":"https://github.com/ForbesLindesay/is-browser/issues"},"homepage":"https://github.com/ForbesLindesay/is-browser","_id":"is-browser@2.0.1","_shasum":"8bf0baf799a9c62fd9de5bcee4cf3397c3e7529a","_from":".","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"8bf0baf799a9c62fd9de5bcee4cf3397c3e7529a","size":1321,"noattachment":false,"key":"/is-browser/-/is-browser-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-browser/download/is-browser-2.0.1.tgz"},"directories":{},"publish_time":1406295755922,"_cnpm_publish_time":1406295755922,"_hasShrinkwrap":false},"2.0.0":{"name":"is-browser","version":"2.0.0","description":"Test whether you're a component in browser or a package in npm","main":"server.js","repository":{"type":"git","url":"https://github.com/ForbesLindesay/is-browser.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","browser":"client.js","scripts":{"start":"node server.js"},"readmeFilename":"readme.md","_id":"is-browser@2.0.0","dist":{"shasum":"82d004df7b52896ee6febfe640716e46ce61a28b","size":601,"noattachment":false,"key":"/is-browser/-/is-browser-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-browser/download/is-browser-2.0.0.tgz"},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{},"publish_time":1361620797789,"_cnpm_publish_time":1361620797789,"_hasShrinkwrap":false},"1.0.0":{"name":"is-browser","version":"1.0.0","description":"Test whether you're a component in browser or a package in npm","main":"server.js","repository":{"type":"git","url":"https://github.com/ForbesLindesay/is-browser.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","scripts":{"start":"node server.js"},"_id":"is-browser@1.0.0","dist":{"shasum":"2cd73e77b2af3936b136d207154700a0ea80a14a","size":602,"noattachment":false,"key":"/is-browser/-/is-browser-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-browser/download/is-browser-1.0.0.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{},"publish_time":1356277893136,"_cnpm_publish_time":1356277893136,"_hasShrinkwrap":false}},"readme":"# is-browser\n\n  Test whether you're running on the server or in the browser (using browserify)\n## Installation\n\n    $ npm install is-browser\n\n## API\n\nThis simply exports `true` or `false`:\n\n```javascript\nif (require('is-browser')) {\n  console.log('The module was installed using component');\n} else {\n  console.log('The module was installed using npm');\n}\n```\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/ForbesLindesay/is-browser#readme","bugs":{"url":"https://github.com/ForbesLindesay/is-browser/issues"},"license":"MIT"}