{"id":15198694,"url":"https://github.com/bwin/asar-cli","last_synced_at":"2026-03-04T21:32:06.944Z","repository":{"id":57184620,"uuid":"51587567","full_name":"bwin/asar-cli","owner":"bwin","description":"CLI utility to read/write electron asar archives.","archived":false,"fork":false,"pushed_at":"2016-02-16T06:07:39.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-21T21:59:27.451Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bwin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-12T12:58:32.000Z","updated_at":"2016-02-16T05:58:32.000Z","dependencies_parsed_at":"2022-09-14T08:50:28.443Z","dependency_job_id":null,"html_url":"https://github.com/bwin/asar-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bwin/asar-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwin%2Fasar-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwin%2Fasar-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwin%2Fasar-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwin%2Fasar-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bwin","download_url":"https://codeload.github.com/bwin/asar-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwin%2Fasar-cli/sbom","scorecard":{"id":259729,"data":{"date":"2025-08-11","repo":{"name":"github.com/bwin/asar-cli","commit":"f8eb4c59ac344c6eca82c9986af1cb59c5b3b57b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"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/2 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":"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":"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":"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":"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":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"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":"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":"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-17T10:33:48.847Z","repository_id":57184620,"created_at":"2025-08-17T10:33:48.847Z","updated_at":"2025-08-17T10:33:48.847Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30093743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T20:42:30.420Z","status":"ssl_error","status_checked_at":"2026-03-04T20:42:30.057Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-09-28T01:24:30.768Z","updated_at":"2026-03-04T21:32:06.905Z","avatar_url":"https://github.com/bwin.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# asar-cli\n\n**CLI utility to read/write electron asar archives.** (Npm module for node.js.)\n\n[![npm version][badgeNpm]][linkNpm] ![license][badgeLicense] ![npm total downloads][badgeDownloads] [![dependencies][badgedDependencies]][linkDependencies] [![code coverage][badgeCoverage]][linkCoverage] [![build status][badgeBuild]][linkBuild]\n\n## Table of Contents\n- [Alternatives](#alternatives)\n- [Motivation](#motivation)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Examples](#examples)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Alternatives\n- [asar-archive]: asar api (used by this)\n- [grunt-asar]: grunt task\n- [gulp-asar]: gulp task\n- ([asar]: official command line interface and lib)\n\n## Motivation\n...\n\n## Installation\nInstall (preferrably global) with `npm install asar-cli -g`.\n\n## Usage\n```\nasar-cli [input] [output] [options]\nParameter:\ninput                 path to archive or directory\noutput                path to archive or directory\nor if you prefer, you can set these with:\n-i, --in \u003cpath\u003e       specify input (can be archive or directory)\n-o, --out \u003cpath\u003e      specify output (can be archive or directory)\nOptions:\n-h, --help            show help and exit\n-v, --version         show version and exit\n    --examples        show example usage and exit\n    --verify          verify archive integrity and exit\n    --info            output archive info and exit\n-l, --list            list archive entries and exit\n-s, --size            also list size\n-a, --add \u003cpath\u003e      path to directory to add to archive\n-r, --root \u003cpath\u003e     set root path in archive\n-p, --pattern \u003cglob\u003e  set a filter pattern\n    --stdout          print archive or file from archive to stdout\n-w, --overwrite       overwrite files\n-z, --compress        gzip file contents\n-P, --pretty          write pretty printed json TOC\n-c, --colors          use terminal colors for output\n-C, --compat          also read legacy asar format\n-Q, --verbose         more feedback\n    --debug           a lot feedback\n-q, --quiet           no feedback\n```\n\n## Examples\n\n```\n#create archive from dir\nasar-cli dir archive\n\n#same with named parameters\nasar-cli -i dir -o archive\n\n#extract archive to dir\nasar-cli archive dir\n\n#extract root from archive to dir\nasar-cli archive dir -r root\n\n#extract d/file from archive to dir\nasar-cli archive dir -r d/file\n\n#verify archive\nasar-cli archive --verify\n\n#list archive entries\nasar-cli archive -l\n\n#list archive entries for root\nasar-cli archive -l -r root\n\n#list entries for root with pattern\nasar-cli archive -l -r root -p pattern\n\n#list archive entries with size\nasar-cli archive -ls\n\n#print content of file to stdout\nasar-cli archive -r d/file --stdout\n```\n\n## Contributing\n- In lieu of a formal styleguide, take care to maintain the existing coding style.\n- The source code is written in CoffeeScript and is in `src/`. Run `npm run build` to compile to JavaScript in `lib/`.\n- Add unit tests for any new or changed functionality and fixed issues.\n- Test your code using `npm test`.\n\n## License\nThe MIT License (MIT)\n\nCopyright (c) 2016 Benjamin Winkler ([bwin])\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\n[badgeNpm]: https://img.shields.io/npm/v/asar-cli.svg?style=flat-square\n[badgeLicense]: https://img.shields.io/npm/l/asar-cli.svg?style=flat-square\n[badgeDownloads]: https://img.shields.io/npm/dt/asar-cli.svg?style=flat-square\n[badgedDependencies]: https://img.shields.io/david/bwin/asar-cli/master.svg?style=flat-square\n[badgeCoverage]: https://img.shields.io/coveralls/bwin/asar-cli/master.svg?style=flat-square\n[badgeBuild]: https://img.shields.io/travis/bwin/asar-cli/master.svg?style=flat-square\n[linkNpm]: https://npmjs.org/package/asar-cli\n[linkDependencies]: https://david-dm.org/bwin/asar-cli/master\n[linkCoverage]: https://coveralls.io/bwin/asar-cli/master\n[linkBuild]: https://travis-ci.org/bwin/asar-cli/master\n\n[bwin]: https://github.com/bwin\n[asar-archive]: https://github.com/bwin/asar-archive\n[grunt-asar]: https://github.com/bwin/grunt-asar\n[gulp-asar]: https://github.com/bwin/gulp-asar\n[asar]: https://github.com/atom/asar\n[Module asar]: https://githubusercontent.com/bwin/asar-cli/master/docs/api/Asar.html\n[Class AsarArchive]: https://githubusercontent.com/bwin/asar-cli/master/docs/api/AsarArchive.html\n[Asar file format]: https://htmlpreview.github.io/?https://raw.githubusercontent.com/bwin/asar-cli/master/docs/asar-format.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbwin%2Fasar-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbwin%2Fasar-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbwin%2Fasar-cli/lists"}