{"id":19677727,"url":"https://github.com/3rd-eden/timbers","last_synced_at":"2025-10-08T17:12:06.976Z","repository":{"id":66002013,"uuid":"190627952","full_name":"3rd-Eden/timbers","owner":"3rd-Eden","description":"Shiver me timbers! A tool to map short CLI argument to long CLI arguments","archived":false,"fork":false,"pushed_at":"2019-06-06T18:11:21.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-02T03:59:59.813Z","etag":null,"topics":["args","argument-parser","arguments","cli"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/3rd-Eden.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-06T18:10:10.000Z","updated_at":"2023-02-14T03:25:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"37dbee1a-8bca-4f35-9dee-11fbb35e9ca4","html_url":"https://github.com/3rd-Eden/timbers","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"b029f6de74fa44095a50448bd45a949f85de5a3e"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/3rd-Eden/timbers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3rd-Eden%2Ftimbers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3rd-Eden%2Ftimbers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3rd-Eden%2Ftimbers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3rd-Eden%2Ftimbers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/3rd-Eden","download_url":"https://codeload.github.com/3rd-Eden/timbers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3rd-Eden%2Ftimbers/sbom","scorecard":{"id":3742,"data":{"date":"2025-08-11","repo":{"name":"github.com/3rd-Eden/timbers","commit":"b029f6de74fa44095a50448bd45a949f85de5a3e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"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":"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":"Code-Review","score":0,"reason":"Found 0/1 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":"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":"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":"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":"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":"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":"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":"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":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":"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-14T13:06:53.574Z","repository_id":66002013,"created_at":"2025-08-14T13:06:53.574Z","updated_at":"2025-08-14T13:06:53.574Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278981518,"owners_count":26079640,"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-08T02:00:06.501Z","response_time":56,"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":["args","argument-parser","arguments","cli"],"created_at":"2024-11-11T17:35:10.868Z","updated_at":"2025-10-08T17:12:06.959Z","avatar_url":"https://github.com/3rd-Eden.png","language":"JavaScript","readme":"# timbers\n\nArgh! Shiver me timbers. The `timbers` library is a natural extension to `argh`.\nIt allows you to easily transform short hand CLI flags into their long hand\ncounter parts.\n\n## Installation\n\nThe package is published to npm and can be installed by running:\n\n```\nnpm install --save timbers\n```\n\n## Usage\n\n```js\nconst timbers = require('timbers');\nconst argh = require('argh');\n\nconst defaults = {\n  cwd: process.cwd().\n  foo: 'bar'\n};\n\nconst args = timbers([\n  '-c, --cwd'\n], { ...defaults, ...argh.argv });\n\nconsole.log(args);\n\n//\n// { cwd: process.cwd(), foo: 'bar' }   // No values passed\n// { cwd: 'bar', foo: 'bar' }           // -c bar\n// { cwd: 'bar', foo: 'bar' }           // --cwd bar\n//\n```\n\nWhile the library was designed with [argh] in mind, it will work with any\nobject. It accepts the following arguments:\n\n- `flags`, **Array**, An array of strings that contain the mapping of short to\n  long flags. For example: `-r, --require`. You can also map multiple short\n  flags to a long flag: `-r, -e, --require`.\n- `arg`, **Object**, Object with values that should be used as data source.\n\n## License\n\n[MIT](LICENSE)\n[argh]: https://github.com/3rd-Eden/argh#readme\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3rd-eden%2Ftimbers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F3rd-eden%2Ftimbers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3rd-eden%2Ftimbers/lists"}