{"id":21260632,"url":"https://github.com/arylo/nodenv","last_synced_at":"2026-04-20T04:04:55.458Z","repository":{"id":65460522,"uuid":"159429467","full_name":"Arylo/nodenv","owner":"Arylo","description":"Operating on the NODE_ENV environmental variable","archived":false,"fork":false,"pushed_at":"2019-07-01T14:02:40.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-30T16:38:36.970Z","etag":null,"topics":["node-env","nodejs"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/node-env-manager","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Arylo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-28T02:12:43.000Z","updated_at":"2019-07-01T14:02:42.000Z","dependencies_parsed_at":"2023-01-24T14:45:23.224Z","dependency_job_id":null,"html_url":"https://github.com/Arylo/nodenv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Arylo/nodenv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arylo%2Fnodenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arylo%2Fnodenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arylo%2Fnodenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arylo%2Fnodenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Arylo","download_url":"https://codeload.github.com/Arylo/nodenv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arylo%2Fnodenv/sbom","scorecard":{"id":16808,"data":{"date":"2025-08-11","repo":{"name":"github.com/Arylo/nodenv","commit":"354100eac627f79a8dba0a655e47e32f67697b74"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/14 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-14T15:58:14.183Z","repository_id":65460522,"created_at":"2025-08-14T15:58:14.183Z","updated_at":"2025-08-14T15:58:14.183Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278658594,"owners_count":26023686,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["node-env","nodejs"],"created_at":"2024-11-21T04:19:36.873Z","updated_at":"2025-10-06T18:34:47.335Z","avatar_url":"https://github.com/Arylo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NODE-ENV Manager\n\nOperating on the NODE_ENV environmental variable\n\n[![node][NPM_URL]][NPM_HREF]\n[![Travis][TRAVIS_URL]][TRAVIS_HREF]\n[![Coveralls][COVERALLS_URL]][COVERALLS_HREF]\n[![Known Vulnerabilities][SNYK_URL]][SNYK_HREF]\n[![David][DAVID_URL]][DAVID_HREF]\n[![Author][AUTHOR_URL]][AUTHOR_HREF]\n[![MIT-License][LICENSE_URL]][LICENSE_HREF]\n[![996ICU-License][LICENSE_996_URL]][LICENSE_996_HREF]\n\n## Usage\n\n### Install\n\n```shell\nnpm install node-env-manager\n```\n\n### CONST\n\n```javascript\nconst { ENV } = require(\"node-env-manager\");\n\nENV.PROD          // -\u003e \"prod\",\nENV.PRODUCT       // -\u003e \"product\",\nENV.PRODUCTION    // -\u003e \"production\",\nENV.DEV           // -\u003e \"dev\",\nENV.DEVELOP       // -\u003e \"develop\",\nENV.DEVELOPMENT   // -\u003e \"development\",\nENV.LOCAL         // -\u003e \"local\",\nENV.TEST          // -\u003e \"test\",\nENV.EXP           // -\u003e \"exp\",\nENV.EXPERIENCE    // -\u003e \"experience\",\nENV.GRAY          // -\u003e \"gray\",\nENV.CI            // -\u003e \"ci\"\nENV.REAL          // -\u003e \"real\"\n```\n\n### Mothods\n\n```javascript\nconst env = require(\"node-env-manager\");\n\nenv.init(); // set `process.env.NODE_ENV` value if the value is null\nenv.get();  // get `process.env.NODE_ENV` value\nenv.set(\"prod\");  // set `process.env.NODE_ENV` value\nenv.set(env.ENV.DEV);\n\nenv.isLocal();\nenv.isTest();\nenv.isDev();\nenv.isProd();\nenv.isExp();\nenv.isGray();\nenv.isCI();\nenv.isReal();\n```\n\n[NPM_URL]: https://img.shields.io/node/v/node-env-manager.svg?style=flat-square\u0026maxAge=600\n[NPM_HREF]: https://www.npmjs.com/package/node-env-manager\n[TRAVIS_URL]: https://img.shields.io/travis/Arylo/nodenv/master.svg?style=flat-square\u0026logo=travis\u0026maxAge=600\n[TRAVIS_HREF]: https://travis-ci.org/Arylo/nodenv\n[COVERALLS_URL]: https://img.shields.io/coveralls/github/Arylo/nodenv/master.svg?style=flat-square\u0026maxAge=600\n[COVERALLS_HREF]: https://coveralls.io/github/Arylo/nodenv\n[SNYK_URL]: https://snyk.io/test/github/Arylo/nodenv/badge.svg?style=flat-square\u0026maxAge=600\n[SNYK_HREF]: https://snyk.io/test/github/Arylo/nodenv\n[DAVID_URL]: https://img.shields.io/david/Arylo/nodenv.svg?style=flat-square\u0026maxAge=600\n[DAVID_HREF]: https://github.com/Arylo/nodenv\n[AUTHOR_URL]: https://img.shields.io/badge/Author-AryloYeung-blue.svg?style=flat-square\u0026maxAge=7200\n[AUTHOR_HREF]: https://github.com/arylo\n[LICENSE_URL]: https://img.shields.io/github/license/Arylo/npm-project-init.svg?style=flat-square\u0026maxAge=7200\n[LICENSE_HREF]: https://opensource.org/licenses/MIT\n\n[LICENSE_996_URL]: https://img.shields.io/badge/license-NPL%20(The%20996%20Prohibited%20License)-blue.svg?style=flat-square\u0026maxAge=7200\n[LICENSE_996_HREF]: https://github.com/996icu/996.ICU","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farylo%2Fnodenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farylo%2Fnodenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farylo%2Fnodenv/lists"}