{"name":"which-runtime","version":"1.4.0","description":"Detect if you are in Bare or Node and which os etc","main":"index.js","scripts":{"format":"prettier --write .","lint":"prettier --check . && lunte .","test":"npm run test:node && npm run test:bare","test:node":"brittle-node test.js","test:bare":"brittle-bare test.js"},"repository":{"type":"git","url":"git+https://github.com/holepunchto/which-runtime.git"},"author":{"name":"Holepunch Inc."},"license":"Apache-2.0","bugs":{"url":"https://github.com/holepunchto/which-runtime/issues"},"homepage":"https://github.com/holepunchto/which-runtime","devDependencies":{"brittle":"^3.0.0","lunte":"^1.4.0","prettier":"^3.6.2","prettier-config-holepunch":"^2.0.0"},"gitHead":"d4732d849da866990f532de53d7d0a02847ea374","_id":"which-runtime@1.4.0","_nodeVersion":"24.13.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-0ugbP4CJW4e2D20jvEcC4973dCgIaHI4Rw1PT+26U9zEve7FyYdWAIwUnoeOYvoCfn+wXHoHTKb1KhkYlb60Pw==","shasum":"e9440328bac21e310dab64bb5a290b5273920cd1","tarball":"http://registry-npm.ywwl.com/which-runtime/download/which-runtime-1.4.0.tgz","fileCount":4,"unpackedSize":14095,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEM/T4Im2zjEmae3fGLf+piYaOLwnnobjHz46VxsmI4pAiBKFtdbICcjlsgevzAowyWpIjQgKimmutovbNkFqYy7XA=="}],"size":5017,"noattachment":false,"key":"/which-runtime/-/which-runtime-1.4.0.tgz"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"directories":{},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"davidmarkclements","email":"huperekchuno@googlemail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/which-runtime_1.4.0_1779304928972_0.2587048612309506"},"_hasShrinkwrap":false,"readme":"# which-runtime\n\nDetect if you are in Bare or Node and which os etc\n\n```\nnpm install which-runtime\n```\n\n## Usage\n\n```js\nimport {\n  runtime, // bare, node, or browser\n  platform, // the platform string, ie darwin, win32, etc\n  arch, // which arch, arm64, ia32, x64 etc\n  isBrowser,\n  isBare,\n  isNode,\n  isLinux,\n  isWindows,\n  isMac,\n  isIOS,\n  isAndroid\n} from 'which-runtime'\n```\n\n## License\n\nApache-2.0\n","publish_time":1779304929123,"_cnpm_publish_time":1779304929123,"dist-tags":{"latest":"1.4.0"}}