{"id":16941337,"url":"https://github.com/joeybaker/jace","last_synced_at":"2026-04-12T03:02:53.060Z","repository":{"id":19323969,"uuid":"22562327","full_name":"joeybaker/jace","owner":"joeybaker","description":"JSON Ampersand Configuration by Environment State","archived":false,"fork":false,"pushed_at":"2014-09-07T01:34:48.000Z","size":188,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-05T00:27:46.094Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joeybaker.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":"2014-08-03T00:34:27.000Z","updated_at":"2014-09-06T21:06:57.000Z","dependencies_parsed_at":"2022-09-26T22:11:04.150Z","dependency_job_id":null,"html_url":"https://github.com/joeybaker/jace","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/joeybaker/jace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeybaker%2Fjace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeybaker%2Fjace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeybaker%2Fjace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeybaker%2Fjace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joeybaker","download_url":"https://codeload.github.com/joeybaker/jace/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeybaker%2Fjace/sbom","scorecard":{"id":527470,"data":{"date":"2025-08-11","repo":{"name":"github.com/joeybaker/jace","commit":"db684239a45f52f71fb01fcac4568cef9327c56c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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-20T04:47:44.978Z","repository_id":19323969,"created_at":"2025-08-20T04:47:44.978Z","updated_at":"2025-08-20T04:47:44.978Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31702581,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"online","status_checked_at":"2026-04-12T02:00:06.763Z","response_time":58,"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":[],"created_at":"2024-10-13T21:09:17.382Z","updated_at":"2026-04-12T03:02:53.043Z","avatar_url":"https://github.com/joeybaker.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JACE\n\n[![NPM](https://nodei.co/npm/jace.png)](https://nodei.co/npm/jace/) [![Build Status](https://travis-ci.org/joeybaker/jace.png?branch=master)](https://travis-ci.org/joeybaker/jace)\n\nNode project configuration. Jace sounds like brace. Braces support things. Jace supports the whole project.\n\nJace is a configuration library for a node project that recognizes several levels of overrides. [ALCE](https://github.com/walmartlabs/ALCE) is used for JSON parsing so your JSON can have comments.\n\nThe order of preference, higher numbers override lower numbers.\n\n1. default.json\n2. {env}.json // env is determined by the `NODE_ENV` bash variable, or by the `env` option.\n3. bash env vars, converted to nested objects.\n4. options object\n\nEvery level merges and overrides the previous.\n\n## Install\n`npm i -S jace`\n\n## Usage\n```js\nvar jace = require('jace')\n  , options = {\n    db: {\n      user: 'me'\n    }\n    , users: 0\n    // defaults to './config'\n    , configPath: __dirname\n  }\n  , config = jace(options)\n\n// config is an ampersand-state object\nconfig.env // will be the value of process.env.NODE_ENV if set, else 'default'\nconfig.db.user // 'me'\n```\n\n### Setting env vars\nBash environmental variables are set with `export MY_VAR=rabbit`. Jace converts snake case (underscore separated) env vars into nested objects.\n\n`MY_RABBIT=fluffy` becomes `{my: {rabbit: 'fluffy'}}`\n\n`MY_RABBIT=fluffy; MY_BUNNY=cottontail` becomes `{my: {rabbit: 'fluffy', bunny: 'cottontail'}}`\n\n## Options\n### `\u003cString\u003e configPath`\nWhere should we look for `default.json` and other config files? Defaults to `./config`.\n\n### `\u003cBoolean\u003e allEnv`\nDefaults to `false`. If `true`, will pull in all env vars, not just the ones defined in a JSON config file or the options.\n\nNOTE: most systems have many irrelvant env vars. It's easy to pollute your config with uncessary properties if you turn this on.\n\n## Tests\nTests are [prova](https://github.com/azer/prova), based on [tape](https://github.com/substack/tape). They can be run with `npm test`.\n\n## Developing\nTo publish, run `gulp publish --bump=patch`\n\n## Changelog\n### 2.0.0\nNo longer uses ampersand-state for base config. It turned out too be too brittle and really, config should only be set once.\n\n### 1.0.0\nInitial Release\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoeybaker%2Fjace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoeybaker%2Fjace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoeybaker%2Fjace/lists"}