{"name":"is-node","version":"1.1.1","description":"Detect if current process is a node application or not.","type":"module","main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.cts","exports":{"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"}},"publishConfig":{"provenance":true},"author":{"name":"matthewh","email":"matthatcher@pm.me","url":"https://matthewhatcher.com/"},"homepage":"https://github.com/MatthewSH/npm-packages","repository":{"type":"git","url":"git+https://github.com/MatthewSH/npm-packages.git"},"bugs":{"url":"https://github.com/MatthewSH/npm-packages/issues"},"engines":{"node":">= 0.10"},"keywords":["is","node","detect","process"],"license":"MIT","scripts":{"build":"pkgroll"},"_id":"is-node@1.1.1","_integrity":"sha512-61p7HKQkk1/FxHHB4igz1bEbH7ltKKocRza1N8uH4xJQLSzJDNuE5OLpb8kDtBN+0otXI1/45q8/Uk4/g5UtuQ==","_resolved":"/tmp/0b2cf7553bfe73805c645bd3821c620e/is-node-1.1.1.tgz","_from":"file:is-node-1.1.1.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-61p7HKQkk1/FxHHB4igz1bEbH7ltKKocRza1N8uH4xJQLSzJDNuE5OLpb8kDtBN+0otXI1/45q8/Uk4/g5UtuQ==","shasum":"f07bc9ca5af2deac7862bdac3a83394dea327ab7","tarball":"http://registry-npm.ywwl.com/is-node/download/is-node-1.1.1.tgz","fileCount":8,"unpackedSize":3217,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/is-node@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIC3LzyhEVViNzLuO1utbsQijdwG52hfwn5Ddd4Bxpea0AiEA1bwcxO9Ak/oO2Fb/nn9j+quwctdCTxLmVlzWvjqgpRg="}],"size":1730,"noattachment":false,"key":"/is-node/-/is-node-1.1.1.tgz"},"_npmUser":{"name":"matthewh","email":"matthatcher@pm.me"},"directories":{},"maintainers":[{"name":"matthewh","email":"matthatcher@pm.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/is-node_1.1.1_1745447112395_0.6457248850741046"},"_hasShrinkwrap":false,"readme":"# `is-node`\n\nDetects if the current process is a node application or not.\n\n## Usage\n\n```javascript\nconst isNode = require(\"is-node\");\n\nif (isNode) {\n  console.log(\"Hey, I'm a node process!\");\n}\n```\n\n```typescript\nimport isNode from \"is-node\";\n\nif (isNode) {\n  console.log(\"Hey, I'm a node process!\");\n}\n```\n","publish_time":1745447112611,"_cnpm_publish_time":1745447112611,"dist-tags":{"latest":"1.1.1"}}