{"_id":"is-node","_rev":"21-09c03b28f6ab2962d41843689449b2b8","name":"is-node","dist-tags":{"latest":"1.1.1"},"versions":{"0.0.0":{"name":"is-node","version":"0.0.0","keywords":["node","detection"],"author":"Azer Koçulu <azer@kodfabrik.com>","license":"BSD","_id":"is-node@0.0.0","maintainers":[{"name":"npm","email":"npm@npmjs.com"}],"dist":{"shasum":"87dd650b87fb6a39c50caafee0e9f6835ec15e41","tarball":"https://registry.npmjs.org/is-node/-/is-node-0.0.0.tgz","integrity":"sha512-KUwX8L3QU5YheJw8FiFwBFf+gIZ3OX2wifID5sHjn1pWrFMfIaBZLSszs7vHtiJR9y7plGM+Y4jtfwrsCI1D8Q==","signatures":[{"sig":"MEUCIAeSgJOiUv9o/m3uNBL9wC8XttoICHK3da4/n6AqWD5ZAiEA+yTGzlSLHfcKQeOhfjW4GPyxD+SInNMJgVFCoemlc28=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"87dd650b87fb6a39c50caafee0e9f6835ec15e41","scripts":{"test":"fox"},"_npmUser":{"name":"npm","email":"support@npmjs.com"},"repository":{"url":"git@github.com:azer/is-node.git","type":"git"},"_npmVersion":"0.0.0-fake","description":"Returns true if it's running on NodeJS","directories":{},"_nodeVersion":"0.0.0-fake","devDependencies":{"fox":"*"}},"2.0.0":{"name":"is-node","version":"2.0.0","author":"","license":"ISC","_id":"is-node@2.0.0","maintainers":[{"name":"nj48","email":"spam@njohnson.me"}],"dist":{"shasum":"7a74011121d02067e9a162f979e400ab619ba710","tarball":"https://registry.npmjs.org/is-node/-/is-node-2.0.0.tgz","integrity":"sha512-HtZASB8cotXNq+ozr3Hpa35fr2L1MqOrxM24QlPsUIRzXUQex3j8Tokm1v6OT6Fe1q2twp0WLbLMMUW+u9WK7A==","signatures":[{"sig":"MEUCIALH2ezgd95vtOuwtkCBXr4XBezwVyoQb9VgU80fmEJfAiEA7ZFqaw5O+tIhcWLApt1Yreg+Eah5XCpzvZS7SFobebc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"7a74011121d02067e9a162f979e400ab619ba710","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"nj48","email":"spam@njohnson.me"},"_npmVersion":"3.7.2","description":"","directories":{},"_nodeVersion":"4.3.0"},"0.0.1-security":{"name":"is-node","version":"0.0.1-security","keywords":[],"author":"","license":"ISC","_id":"is-node@0.0.1-security","maintainers":[{"name":"nj48","email":"spam@njohnson.me"}],"homepage":"https://github.com/npm/security-holder#readme","bugs":{"url":"https://github.com/npm/security-holder/issues"},"dist":{"shasum":"c5276c0883cd73cb05f799529ba1cbc5b0cbc53a","tarball":"https://registry.npmjs.org/is-node/-/is-node-0.0.1-security.tgz","integrity":"sha512-a72+B4oNVbPjuthXryqqoG7OM129+5k3k+LDM/gEPFzJeFGIScScNOTYiyU1ixwMkn/chmUgbqL4Ky1x31MvJg==","signatures":[{"sig":"MEUCICDAA4RXIHaEOwYP2G3ijyqUXHHa7cscAgSG1pxG04FrAiEAt6cKXSSFANggyBEjcjMlPZHrAZMRmZlsaAcDV3+m77w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"c5276c0883cd73cb05f799529ba1cbc5b0cbc53a","gitHead":"d1719e2a152734ed854065de56039770c9104d83","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"npm","email":"npm@npmjs.com"},"repository":{"url":"git+https://github.com/npm/security-holder.git","type":"git"},"_npmVersion":"3.6.0","description":"This package name is not currently in use, but was formerly occupied by a popular package. To avoid malicious use, npm is hanging on to the package name, but loosely, and we'll probably give it to you if you want it.","directories":{},"_nodeVersion":"5.1.0"},"1.0.0":{"name":"is-node","version":"1.0.0","keywords":["is","node","detect","process"],"author":{"url":"http://matthewh.in/","name":"matthewh","email":"hello@matthewh.in"},"license":"MIT","_id":"is-node@1.0.0","maintainers":[{"name":"matthewh","email":"hello@matthewh.in"}],"homepage":"https://github.com/MatthewNPM/is-node","bugs":{"url":"https://github.com/MatthewNPM/is-node/issues"},"dist":{"shasum":"7e031ce6947102cdc0a1ebd5000f0970fb496292","tarball":"https://registry.npmjs.org/is-node/-/is-node-1.0.0.tgz","integrity":"sha512-SvPAJ615qzhTt5aAIfdcMs5vgNgxSqfFbjcRwa0mvzUGUJvaSN/JjAz30Wx8hvQg/yjoRW8WyjDAWXTx5mH3iQ==","signatures":[{"sig":"MEYCIQDgIuK7nmWtbAGXbAJkqSsLBujXLWyaipDT7HMk2RddPQIhAJLW/w0bnGqekIxIIZLaAxD0y3t9oexmLV83UM6zIukX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["examples/","README.md","index.js"],"_shasum":"7e031ce6947102cdc0a1ebd5000f0970fb496292","engines":{"node":">= 0.10"},"gitHead":"5946eff16f278b31020c3132d4ac3313d262662d","private":false,"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"matthewh","email":"hello@matthewh.in"},"repository":{"url":"git+https://github.com/MatthewNPM/is-node.git","type":"git"},"_npmVersion":"2.15.0","description":"Detect if current process is a node application or not.","directories":{},"_nodeVersion":"4.4.2","_npmOperationalInternal":{"tmp":"tmp/is-node-1.0.0.tgz_1461107599006_0.048821533331647515","host":"packages-12-west.internal.npmjs.com"}},"1.0.1":{"name":"is-node","version":"1.0.1","keywords":["is","node","detect","process"],"author":{"url":"http://matthewh.in/","name":"matthewh","email":"hello@matthewh.in"},"license":"MIT","_id":"is-node@1.0.1","maintainers":[{"name":"matthewh","email":"hello@matthewh.in"}],"homepage":"https://github.com/MatthewNPM/is-node","bugs":{"url":"https://github.com/MatthewNPM/is-node/issues"},"dist":{"shasum":"294d015e596806f8c536a82ea975ac518d9f595f","tarball":"https://registry.npmjs.org/is-node/-/is-node-1.0.1.tgz","integrity":"sha512-euK7MNZNldpHcYTJRLqqpKlg+3OAoUNV1OwQXFxW9BYR3PeKhxrVujsdygMoWnCdjZq6b6ksLO3C+gLvfVkfLg==","signatures":[{"sig":"MEYCIQD6ukT9LT0cBAzIDe49vAGnA7aJY0XOq1TMBF2dCq9TWQIhAJWc5AuPHmzxoP9jUXjZWojsHYS/JPkStdpJ8Mr5jqsg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["examples/","README.md","index.js"],"_shasum":"294d015e596806f8c536a82ea975ac518d9f595f","engines":{"node":">= 0.10"},"gitHead":"ec8fcde36ff7c1738a56e539c464255bd2bee4b0","private":false,"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"matthewh","email":"hello@matthewh.in"},"repository":{"url":"git+https://github.com/MatthewNPM/is-node.git","type":"git"},"_npmVersion":"3.8.9","description":"Detect if current process is a node application or not.","directories":{},"_nodeVersion":"6.2.0","_npmOperationalInternal":{"tmp":"tmp/is-node-1.0.1.tgz_1468558564089_0.2612141582649201","host":"packages-16-east.internal.npmjs.com"}},"1.0.2":{"name":"is-node","version":"1.0.2","keywords":["is","node","detect","process"],"author":{"url":"http://matthewh.in/","name":"matthewh","email":"hello@matthewh.in"},"license":"MIT","_id":"is-node@1.0.2","maintainers":[{"name":"matthewh","email":"hello@matthewh.in"}],"homepage":"https://github.com/MatthewNPM/is-node","bugs":{"url":"https://github.com/MatthewNPM/is-node/issues"},"dist":{"shasum":"d7d002745ef7debbb7477e988956ab0a4fccb653","tarball":"https://registry.npmjs.org/is-node/-/is-node-1.0.2.tgz","integrity":"sha512-U37UdVWHNH1wDFmlSauKRDL1nhaCVRIH1FoaZN94eGJvU832sjMHEO/4AITAkOT0aRD7oA1Fovn7PeNCHiqz0w==","signatures":[{"sig":"MEUCIQCz7Q3ry+DTsRSy/eGvjLZ9WTpU8Ngzr1H+dYjbb2B0kQIgOZxxHvizeM2TRdg18u32mCf9ATqIX5QnndIN2ZINvQg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["examples/","README.md","index.js"],"_shasum":"d7d002745ef7debbb7477e988956ab0a4fccb653","engines":{"node":">= 0.10"},"gitHead":"d93ac0574e61947408b021aeddaefeac63b48831","private":false,"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"matthewh","email":"hello@matthewh.in"},"repository":{"url":"git+https://github.com/MatthewNPM/is-node.git","type":"git"},"_npmVersion":"3.8.9","description":"Detect if current process is a node application or not.","directories":{},"_nodeVersion":"6.2.0","_npmOperationalInternal":{"tmp":"tmp/is-node-1.0.2.tgz_1473723381960_0.9598730618599802","host":"packages-12-west.internal.npmjs.com"}},"1.1.0":{"name":"is-node","version":"1.1.0","keywords":["is","node","detect","process"],"author":{"url":"https://matthewhatcher.com/","name":"matthewh","email":"matthatcher@pm.me"},"license":"MIT","_id":"is-node@1.1.0","maintainers":[{"name":"matthewh","email":"matthatcher@pm.me"}],"homepage":"https://github.com/MatthewSH/npm-packages","bugs":{"url":"https://github.com/MatthewSH/npm-packages/issues"},"dist":{"shasum":"eba461cea325bb0ca38c885aa0ffc17399bd2d7e","tarball":"https://registry.npmjs.org/is-node/-/is-node-1.1.0.tgz","fileCount":10,"integrity":"sha512-BIHbj/YxDphAhwoTmnmao/rx6z0ee8zDe0+qD0Eitji5fzflzehvACzW7uQmUaCLdtnQYCYGRv6ZgvwnqaRCug==","signatures":[{"sig":"MEUCIQD4JewyzjAKvF+y6HRoIVKBdmBJgFjh+SKDPRxBdipsSQIgYb6jNhj0ReJZUqjTwenijRuExIuWKTmR7tMBYeRY2x0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3195},"main":"./dist/index.cjs","type":"module","_from":"file:is-node-1.1.0.tgz","types":"./dist/index.d.cts","module":"./dist/index.mjs","engines":{"node":">= 0.10"},"exports":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"scripts":{"build":"pkgroll"},"_npmUser":{"name":"matthewh","email":"matthatcher@pm.me"},"_resolved":"/tmp/08de845333a0b5a0253817a2e7e11ee4/is-node-1.1.0.tgz","_integrity":"sha512-BIHbj/YxDphAhwoTmnmao/rx6z0ee8zDe0+qD0Eitji5fzflzehvACzW7uQmUaCLdtnQYCYGRv6ZgvwnqaRCug==","repository":{"url":"git+https://github.com/MatthewSH/npm-packages.git","type":"git"},"_npmVersion":"10.9.2","description":"Detect if current process is a node application or not.","directories":{},"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/is-node_1.1.0_1745441797280_0.0036667742404485892","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"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":"https://registry.npmjs.org/is-node/-/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="}]},"_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}},"time":{"created":"2013-10-07T08:13:57.179Z","modified":"2025-04-23T22:25:12.978Z","0.0.0":"2013-10-07T08:13:59.405Z","2.0.0":"2016-03-22T23:48:36.289Z","0.0.1-security":"2016-03-23T22:10:02.106Z","1.0.0":"2016-04-19T23:13:21.317Z","1.0.1":"2016-07-15T04:56:06.596Z","1.0.2":"2016-09-12T23:36:22.194Z","1.1.0":"2025-04-23T20:56:37.471Z","1.1.1":"2025-04-23T22:25:12.611Z"},"bugs":{"url":"https://github.com/MatthewSH/npm-packages/issues"},"author":{"name":"matthewh","email":"matthatcher@pm.me","url":"https://matthewhatcher.com/"},"license":"MIT","homepage":"https://github.com/MatthewSH/npm-packages","keywords":["is","node","detect","process"],"repository":{"type":"git","url":"git+https://github.com/MatthewSH/npm-packages.git"},"description":"Detect if current process is a node application or not.","maintainers":[{"name":"matthewh","email":"matthatcher@pm.me"}],"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","readmeFilename":"README.md","users":{"flumpus-dev":true}}