{"_id":"which-runtime","_rev":"10-fbe958e451f7eab7d3af945bb1924266","name":"which-runtime","dist-tags":{"latest":"1.4.0"},"versions":{"0.0.0":{"name":"which-runtime","version":"0.0.0","author":{"name":"Holepunch Inc."},"license":"Apache-2.0","_id":"which-runtime@0.0.0","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"homepage":"https://github.com/holepunchto/which-runtime","bugs":{"url":"https://github.com/holepunchto/which-runtime/issues"},"dist":{"shasum":"a5c1888771568908a11e37d40377d1e5fd7b923b","tarball":"https://registry.npmjs.org/which-runtime/-/which-runtime-0.0.0.tgz","fileCount":6,"integrity":"sha512-cjvrSG3j4+5v6Vcb/w4of6eKH5+yQgtX+hhY9KS9yrsBCL5Xme389FLYxkJSAR7TMvidOEEsxqWpLScnCVeMmw==","signatures":[{"sig":"MEYCIQDSkN9hnkIOQZMiTYtT2TaIB7YJE2NOET3hHuh2Jv5jaQIhAL/NZQ/OKrpYNb2dESa3ylDIx+MWhWEznXNMsC74auvG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14238},"main":"index.js","gitHead":"7d276b5bc513d3768d264bbb6f3832149d13b889","scripts":{"test":"standard"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git+https://github.com/holepunchto/which-runtime.git","type":"git"},"_npmVersion":"10.2.4","description":"Detect if you are in Bare or Node and which os etc","directories":{},"_nodeVersion":"20.11.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"standard":"^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/which-runtime_0.0.0_1708333800328_0.44942629361548847","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"which-runtime","version":"1.0.0","author":{"name":"Holepunch Inc."},"license":"Apache-2.0","_id":"which-runtime@1.0.0","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"homepage":"https://github.com/holepunchto/which-runtime","bugs":{"url":"https://github.com/holepunchto/which-runtime/issues"},"dist":{"shasum":"cefac908027eb551d41bf4d003db9db3661a026e","tarball":"https://registry.npmjs.org/which-runtime/-/which-runtime-1.0.0.tgz","fileCount":6,"integrity":"sha512-QDOJr3qFAhyShi2u5ZbQL8rXV70uJaP7ULAxSHhFt+nXBqT356/M5aPlIh96dcb3PdmNiLrW/cIT7gGOz1PI0w==","signatures":[{"sig":"MEYCIQCK+8wIxSdggGMBTNRvM+lBepTH7zuHX44KwEM+O+sXxQIhALBH2PpVU8GXMJN72RVKv3MNp/rsZbIUE6rH7uOUarps","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14238},"main":"index.js","gitHead":"990abe77231287ee45eb31179100f88a5260c822","scripts":{"test":"standard"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git+https://github.com/holepunchto/which-runtime.git","type":"git"},"_npmVersion":"10.2.4","description":"Detect if you are in Bare or Node and which os etc","directories":{},"_nodeVersion":"20.11.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"standard":"^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/which-runtime_1.0.0_1708333817341_0.39411733896669743","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"which-runtime","version":"1.1.0","author":{"name":"Holepunch Inc."},"license":"Apache-2.0","_id":"which-runtime@1.1.0","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"homepage":"https://github.com/holepunchto/which-runtime","bugs":{"url":"https://github.com/holepunchto/which-runtime/issues"},"dist":{"shasum":"a14ed154e278107d951ea78e56f4419f4d2aefde","tarball":"https://registry.npmjs.org/which-runtime/-/which-runtime-1.1.0.tgz","fileCount":6,"integrity":"sha512-LG3fH3QacTy6AJaw12uRkIf7gGajO5NkO0hOxoI9lqrvY1QzSIIg0qb5wAJ6w/8a5vmfIGnl8eEc5B/gpfzMkQ==","signatures":[{"sig":"MEUCIQCcq/bEbWkYF8U3ilHe3Q7SUCOQDKljNBHgYebqPs7qmQIgdQ5GP0c95UhALCNJlmuLFNPA8nQE9wFM+Q28ug6iHnE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14468},"main":"index.js","gitHead":"afae08abe90364fa4c1675b85c6e6b4c711f2efe","scripts":{"test":"standard"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git+https://github.com/holepunchto/which-runtime.git","type":"git"},"_npmVersion":"10.2.4","description":"Detect if you are in Bare or Node and which os etc","directories":{},"_nodeVersion":"20.11.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"standard":"^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/which-runtime_1.1.0_1708338979992_0.7292808797412544","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"which-runtime","version":"1.2.0","author":{"name":"Holepunch Inc."},"license":"Apache-2.0","_id":"which-runtime@1.2.0","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"homepage":"https://github.com/holepunchto/which-runtime","bugs":{"url":"https://github.com/holepunchto/which-runtime/issues"},"dist":{"shasum":"e304b3b465a9aa7b00ae9b373763ff4c423364c8","tarball":"https://registry.npmjs.org/which-runtime/-/which-runtime-1.2.0.tgz","fileCount":6,"integrity":"sha512-rqRsMOMMoTMItcBS45kfkdVSKSAlzLRsxoUdrVK9Wxpc2+m2q5fN4WpnbE2XGqkpNxhH9lZhDyHSkXrK0EFasQ==","signatures":[{"sig":"MEYCIQDlt66NTdy0JK5FImKj0ZLYoBD9AbwZoNutmLgLCLGwHgIhAP5AKBFtDM9W/UBgxD1ttn4qXzA56gIQ/qlptMsotEyO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14602},"main":"index.js","gitHead":"2cc95ee6c4b7e981c9554451cf89066f0738cfdc","scripts":{"test":"standard"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git+https://github.com/holepunchto/which-runtime.git","type":"git"},"_npmVersion":"10.2.4","description":"Detect if you are in Bare or Node and which os etc","directories":{},"_nodeVersion":"20.11.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"standard":"^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/which-runtime_1.2.0_1708340724420_0.9976515834431325","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"which-runtime","version":"1.2.1","author":{"name":"Holepunch Inc."},"license":"Apache-2.0","_id":"which-runtime@1.2.1","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"homepage":"https://github.com/holepunchto/which-runtime","bugs":{"url":"https://github.com/holepunchto/which-runtime/issues"},"dist":{"shasum":"cbd96267e222ce0aa21cc619dff3c8c2fc9e6575","tarball":"https://registry.npmjs.org/which-runtime/-/which-runtime-1.2.1.tgz","fileCount":4,"integrity":"sha512-8feIHccQFH/whiA1fD1b4c5+Q7T4ry1g1oHYc2mHnFh81tTQFsCvy3zhS2geUapkFAVBddUT/AM1a3rbqJweFg==","signatures":[{"sig":"MEYCIQDqmOHpbBp+otKPpz+UlNBVHFEX4eI333w2w0sCXZaI+wIhANs+M5rmy7gWN+ya9mE2YIQsAwYP7e0VuyQxl11g2Yn1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13588},"main":"index.js","gitHead":"4eca4c6a929e0a8847aca40cb729ac5e9cd5a4c8","scripts":{"test":"standard"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git+https://github.com/holepunchto/which-runtime.git","type":"git"},"_npmVersion":"10.7.0","description":"Detect if you are in Bare or Node and which os etc","directories":{},"_nodeVersion":"20.11.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"standard":"^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/which-runtime_1.2.1_1723625865382_0.405238487294477","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"which-runtime","version":"1.3.0","author":{"name":"Holepunch Inc."},"license":"Apache-2.0","_id":"which-runtime@1.3.0","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"homepage":"https://github.com/holepunchto/which-runtime","bugs":{"url":"https://github.com/holepunchto/which-runtime/issues"},"dist":{"shasum":"d6623cc60b1ab7b423a31acfee594cf5947b68f4","tarball":"https://registry.npmjs.org/which-runtime/-/which-runtime-1.3.0.tgz","fileCount":4,"integrity":"sha512-mQrEBUe15PdEuJvrBlvy3tika6sxQrkblI7JQ9kXeg8Lcby9FwmKvAYrCT3wLh91k6ltost7AVM7qYhjC8N0Zg==","signatures":[{"sig":"MEUCIDNVAvZb7nA/Th1sdkmGRL5KLG+ZhyUBO/hKXgP0CVeTAiEAjI6DEML5TWjc5xTgp8QdbIBrpKxosc86ulK6xJJ3PB4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13614},"main":"index.js","gitHead":"6fc764d2e904b8f9cfc9642f7036d7d5ef1a892a","scripts":{"test":"standard"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git+https://github.com/holepunchto/which-runtime.git","type":"git"},"_npmVersion":"10.9.0","description":"Detect if you are in Bare or Node and which os etc","directories":{},"_nodeVersion":"22.12.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"standard":"^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/which-runtime_1.3.0_1747995221570_0.36830913021047174","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"which-runtime","version":"1.3.1","author":{"name":"Holepunch Inc."},"license":"Apache-2.0","_id":"which-runtime@1.3.1","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"homepage":"https://github.com/holepunchto/which-runtime","bugs":{"url":"https://github.com/holepunchto/which-runtime/issues"},"dist":{"shasum":"df69ffa28ec13214501ba3a26af8558d3b08ad88","tarball":"https://registry.npmjs.org/which-runtime/-/which-runtime-1.3.1.tgz","fileCount":4,"integrity":"sha512-7IbXO27OWisAsG6FrgF8z+1VJf1ZQD3Sh1+/DpdNbYSioQ9m+Q5rVcUBfmeiIJnyRXA8CcxlfjTtBIkVA9lCgg==","signatures":[{"sig":"MEUCIEf+qaJAIsgKpyPJhX1n/CzaYk6UIZHwD0ceblilcUBMAiEA4OMU8W0oRve0rIOFJUw9z0leOufFpfGjRDxfkKGnoDo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13596},"main":"index.js","gitHead":"bd86531373b108803cbb2a013018b6eb67d78a58","scripts":{"test":"standard"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git+https://github.com/holepunchto/which-runtime.git","type":"git"},"_npmVersion":"10.9.2","description":"Detect if you are in Bare or Node and which os etc","directories":{},"_nodeVersion":"22.16.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"standard":"^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/which-runtime_1.3.1_1756552254436_0.2857398694443982","host":"s3://npm-registry-packages-npm-production"}},"1.3.2":{"name":"which-runtime","version":"1.3.2","author":{"name":"Holepunch Inc."},"license":"Apache-2.0","_id":"which-runtime@1.3.2","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"homepage":"https://github.com/holepunchto/which-runtime","bugs":{"url":"https://github.com/holepunchto/which-runtime/issues"},"dist":{"shasum":"66b9cde497c3be5801b24ce9ea9aba74e427d194","tarball":"https://registry.npmjs.org/which-runtime/-/which-runtime-1.3.2.tgz","fileCount":4,"integrity":"sha512-5kwCfWml7+b2NO7KrLMhYihjRx0teKkd3yGp1Xk5Vaf2JGdSh+rgVhEALAD9c/59dP+YwJHXoEO7e8QPy7gOkw==","signatures":[{"sig":"MEYCIQDPV99TTyKYZbXcdTH8oTngZk2iWLvBA4nRu9jLDvER4gIhAOLkZLtoQH9rgz1XELcLeeZwoAX+JuI6Vm0vadyCQEWo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13597},"main":"index.js","gitHead":"81c25b2c92fd9031bf7dc168c602f24c6973fb1b","scripts":{"test":"standard"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git+https://github.com/holepunchto/which-runtime.git","type":"git"},"_npmVersion":"10.9.2","description":"Detect if you are in Bare or Node and which os etc","directories":{},"_nodeVersion":"22.16.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"standard":"^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/which-runtime_1.3.2_1757429904822_0.4381297245350546","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"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":"https://registry.npmjs.org/which-runtime/-/which-runtime-1.4.0.tgz","fileCount":4,"unpackedSize":14095,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEM/T4Im2zjEmae3fGLf+piYaOLwnnobjHz46VxsmI4pAiBKFtdbICcjlsgevzAowyWpIjQgKimmutovbNkFqYy7XA=="}]},"_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}},"time":{"created":"2024-02-19T09:10:00.327Z","modified":"2026-05-20T19:22:09.237Z","0.0.0":"2024-02-19T09:10:00.477Z","1.0.0":"2024-02-19T09:10:17.487Z","1.1.0":"2024-02-19T10:36:20.165Z","1.2.0":"2024-02-19T11:05:24.606Z","1.2.1":"2024-08-14T08:57:45.527Z","1.3.0":"2025-05-23T10:13:41.759Z","1.3.1":"2025-08-30T11:10:54.631Z","1.3.2":"2025-09-09T14:58:25.000Z","1.4.0":"2026-05-20T19:22:09.123Z"},"bugs":{"url":"https://github.com/holepunchto/which-runtime/issues"},"author":{"name":"Holepunch Inc."},"license":"Apache-2.0","homepage":"https://github.com/holepunchto/which-runtime","repository":{"type":"git","url":"git+https://github.com/holepunchto/which-runtime.git"},"description":"Detect if you are in Bare or Node and which os etc","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"davidmarkclements","email":"huperekchuno@googlemail.com"}],"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","readmeFilename":"README.md"}