{"_id":"@cjser/is-heroku","name":"@cjser/is-heroku","dist-tags":{"latest":"3.0.0-cjser.2"},"versions":{"3.0.0-cjser.2":{"name":"@cjser/is-heroku","version":"3.0.0-cjser.2","description":"Check if your code is running on Heroku","license":"MIT","repository":{"type":"git","url":"https://code.moenext.com/3rdeye/cjser.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"require":"./dist-cjser/index.cjs","default":"./index.js"},"types":"./index.d.ts","engines":{"node":"^12.20.0 || ^14.18.0 || >=16.0.0"},"scripts":{"// TODO: Enable again when ESM supports hooks - test":"xo && ava","test":"xo"},"keywords":["heroku","is","check","detect","env","environment"],"devDependencies":{"ava":"^4.0.1","import-fresh":"^3.3.0","xo":"^0.48.0"},"main":"./dist-cjser/index.cjs","cjser":{"sourceVersion":"3.0.0","cjserVersion":2,"original":{"name":"is-heroku","version":"3.0.0","exports":"./index.js","repository":"sindresorhus/is-heroku","files":["index.js","index.d.ts"],"scripts":{"// TODO: Enable again when ESM supports hooks - test":"xo && ava","test":"xo"}}},"_id":"@cjser/is-heroku@3.0.0-cjser.2","gitHead":"a4bef54d7d22d3d9a6b84528457938d84cd65fe7","_nodeVersion":"20.14.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-oHa6qHd/8nQLg4i+syFAjhWdXi/WXh6dPgr4vAgTFmDbSxeeRp39kEWTLtra/thG1igcKGlDuh/zBNJ9mB012g==","shasum":"a0d64fa3e0e683270732e3c6c022d4e532036fc3","tarball":"https://registry.npmjs.org/@cjser/is-heroku/-/is-heroku-3.0.0-cjser.2.tgz","fileCount":6,"unpackedSize":5554,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDaX28woyNifENzqi4ubzdwZDy4M7mFURXfnSvfrRseZAIgPSeJy7hPCV+m1RmttjqWl8jDzA5YjeXVQvDbsfXmkQY="}]},"_npmUser":{"name":"nanahira","email":"nanahira@momobako.com"},"directories":{},"maintainers":[{"name":"nanahira","email":"nanahira@momobako.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/is-heroku_3.0.0-cjser.2_1778158715670_0.8403296375059885"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-07T12:58:35.290Z","3.0.0-cjser.2":"2026-05-07T12:58:35.874Z","modified":"2026-05-07T12:58:36.115Z"},"maintainers":[{"name":"nanahira","email":"nanahira@momobako.com"}],"description":"Check if your code is running on Heroku","keywords":["heroku","is","check","detect","env","environment"],"repository":{"type":"git","url":"https://code.moenext.com/3rdeye/cjser.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"license":"MIT","readme":"# is-heroku\n\n> Check if your code is running on Heroku\n\n## Install\n\n```sh\nnpm install is-heroku\n```\n\n## Usage\n\n```js\nimport isHeroku from 'is-heroku';\n\n// On your local computer\nconsole.log(isHeroku);\n//=> false\n\n// On Heroku\nconsole.log(isHeroku);\n//=> true\n```\n\nAdd an [environment variable](https://devcenter.heroku.com/articles/config-vars) first to improve the detection:\n\n```sh\nheroku config:set HEROKU=1\n```\n\n## cjser\n\nThis package is a CommonJS-compatible build generated by cjser for projects that still need `require()` support. The source version matches the original npm package version, with a cjser prerelease suffix for this generated build.\nOriginal repository: https://github.com/sindresorhus/is-heroku\n","readmeFilename":"readme.md","_rev":"1-bdf3747a739d3030cf537e698305cce4"}