{"id":29585901,"url":"https://github.com/cuarti/zenox-rcfile","last_synced_at":"2026-05-03T12:37:21.435Z","repository":{"id":57170536,"uuid":"84614788","full_name":"cuarti/zenox-rcfile","owner":"cuarti","description":"Read variables from rc files","archived":false,"fork":false,"pushed_at":"2017-07-20T18:49:54.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-03T12:37:13.806Z","etag":null,"topics":["config","file","javascript","nodejs","rc-files","typescript","zenox","zenox-framework"],"latest_commit_sha":null,"homepage":"","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/cuarti.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":"2017-03-11T01:28:33.000Z","updated_at":"2017-05-10T20:30:06.000Z","dependencies_parsed_at":"2022-08-27T12:02:06.278Z","dependency_job_id":null,"html_url":"https://github.com/cuarti/zenox-rcfile","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/cuarti/zenox-rcfile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuarti%2Fzenox-rcfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuarti%2Fzenox-rcfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuarti%2Fzenox-rcfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuarti%2Fzenox-rcfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cuarti","download_url":"https://codeload.github.com/cuarti/zenox-rcfile/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuarti%2Fzenox-rcfile/sbom","scorecard":{"id":312121,"data":{"date":"2025-08-11","repo":{"name":"github.com/cuarti/zenox-rcfile","commit":"384aa5ba7bcabd33d42659a9edb52d0ca061ccf0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/21 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":"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":"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":"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":"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":"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":"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":"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"}},{"name":"Vulnerabilities","score":0,"reason":"11 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-9vvw-cc9w-f27h","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-h6ch-v84p-w6p9","Warn: Project is vulnerable to: GHSA-qh2h-chj9-jffq","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-w9mr-4mfr-499f","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T23:21:03.605Z","repository_id":57170536,"created_at":"2025-08-17T23:21:03.605Z","updated_at":"2025-08-17T23:21:03.605Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32569714,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["config","file","javascript","nodejs","rc-files","typescript","zenox","zenox-framework"],"created_at":"2025-07-20T02:38:32.523Z","updated_at":"2026-05-03T12:37:21.414Z","avatar_url":"https://github.com/cuarti.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n@zenox/rcfile\n==\n\n[![Build Status](https://travis-ci.org/cuarti/zenox-rcfile.svg?branch=master)](https://travis-ci.org/cuarti/zenox-rcfile)\n[![npm (scoped)](https://img.shields.io/npm/v/@zenox/rcfile.svg)](https://www.npmjs.com/package/@zenox/rcfile)\n[![license](https://img.shields.io/github/license/cuarti/rcfile.svg)](https://github.com/cuarti/zenox-rcfile/blob/master/LICENSE)\n\n\n## Description\n\nNodeJS library builded in typescript to load data from file in bash format. It is part of Zenox Framework.\n\n#### File example\n\n```bash\n# Comment\nNAME=rcfile\nVERSION=1\nWORKS=true\n```\n\n\n## Installation\nThe usage of the module not depend of Zenox framework and can use it in your NodeJS program.\n\n```bash\nnpm install --save @zenox/rcfile\n```\n\n\n## Documentation\n\n*All the examples are in ES6/ES2015 of Javascript and Typescript.\nTo use all the features of Typescript, you can use the generic param\non load function.*\n\n### load\n\nParse and load data from file.\n\n#### Typescript definition\n```typescript\ndeclare function load\u003cT extends Object\u003e(path: string, encoding: string = 'utf8'): Promise\u003cT\u003e\n```\n\n#### Example\n```typescript\nimport {load} from '@zenox/rcfile';\n\nload('.examplerc').then(data =\u003e {\n    // ...\n});\n```\n\n### RCFile\n\nObject representation of file to load.\n\nWhen resolve or resolvePath functions are called, it gets the real path of given \ncanonical path. It checks in order from:\n- Absolute path.\n- Current working directory path.\n- Parents of current working directory path until file system root.\n\n#### Typescript definition\n```typescript\ndeclare class RCFile {\n    public constructor(path: string, encoding: string = 'utf8');\n    public exists(): Promise\u003cboolean\u003e;\n    public load\u003cT extends Object\u003e(): Promise\u003cT\u003e;\n    public static resolve(filename: string, encoding?: string): Promise\u003cRCFile\u003e;\n    public static resolvePath(filename: string): Promise\u003cstring\u003e;\n}\n```\n\n#### RCFile#exists\nCheck if file exists.\n\n#### RCFile#load\nParse and load data from file.\n\n#### RCFile.resolve\nGet existent RCFile object from canonical path\n\n#### RCFile.resolvePath\nGet existent path from canonical path\n\n#### Example\n```typescript\nimport {RCFile} from '@zenox/rcfile';\n\nlet file = new RCFile('.examplerc');\n\nfile.exists().then(exists =\u003e {\n    // ...\n});\n\nfile.load().then(data =\u003e {\n   // ...\n});\n\nRCFile.resolve('.examplerc').then(file =\u003e {\n    // ...\n});\n\nRCFile.resolvePath('.examplerc').then(path =\u003e {\n    // ...\n});\n```\n\n\n## License\n\nThe source code of the current repository are launched with MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuarti%2Fzenox-rcfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcuarti%2Fzenox-rcfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuarti%2Fzenox-rcfile/lists"}