{"id":18446266,"url":"https://github.com/catdad/dcrawr","last_synced_at":"2026-04-12T01:36:03.301Z","repository":{"id":66303626,"uuid":"182199049","full_name":"catdad/dcrawr","owner":"catdad","description":"😺 dcraw with a little added r","archived":false,"fork":false,"pushed_at":"2019-04-19T21:05:38.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-06T23:53:22.126Z","etag":null,"topics":["arw","canon","cli","cr2","cr3","dcraw","linux","macos","nef","nikon","npm-package","photography","raw","sony","windows"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/catdad.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-19T04:02:18.000Z","updated_at":"2025-09-12T05:39:55.000Z","dependencies_parsed_at":"2023-02-20T21:00:57.564Z","dependency_job_id":null,"html_url":"https://github.com/catdad/dcrawr","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"90aa5d859c78f189d588174c94451927b749a07c"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/catdad/dcrawr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catdad%2Fdcrawr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catdad%2Fdcrawr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catdad%2Fdcrawr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catdad%2Fdcrawr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/catdad","download_url":"https://codeload.github.com/catdad/dcrawr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catdad%2Fdcrawr/sbom","scorecard":{"id":267871,"data":{"date":"2025-08-11","repo":{"name":"github.com/catdad/dcrawr","commit":"90aa5d859c78f189d588174c94451927b749a07c"},"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":"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":"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":"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/18 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":"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":"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"}},{"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"}}]},"last_synced_at":"2025-08-17T12:36:25.803Z","repository_id":66303626,"created_at":"2025-08-17T12:36:25.803Z","updated_at":"2025-08-17T12:36:25.803Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31701641,"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":"ssl_error","status_checked_at":"2026-04-11T21:17:24.556Z","response_time":54,"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":["arw","canon","cli","cr2","cr3","dcraw","linux","macos","nef","nikon","npm-package","photography","raw","sony","windows"],"created_at":"2024-11-06T07:08:51.031Z","updated_at":"2026-04-12T01:36:03.248Z","avatar_url":"https://github.com/catdad.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dcrawr\n\nThe extra R is becuase it's extra cute 😺\n\n[![travis][travis.svg]][travis.link]\n[![npm-downloads][npm-downloads.svg]][npm.link]\n[![npm-version][npm-version.svg]][npm.link]\n[![dm-david][dm-david.svg]][dm-david.link]\n\n[travis.svg]: https://travis-ci.com/catdad/dcrawr.svg?branch=master\n[travis.link]: https://travis-ci.com/catdad/dcrawr\n[npm-downloads.svg]: https://img.shields.io/npm/dm/dcrawr.svg\n[npm.link]: https://www.npmjs.com/package/dcrawr\n[npm-version.svg]: https://img.shields.io/npm/v/dcrawr.svg\n[dm-david.svg]: https://david-dm.org/catdad/dcrawr.svg\n[dm-david.link]: https://david-dm.org/catdad/dcrawr\n\n## CLI\n\nThis module can be used as a CLI, with all of the exact same functionality as DCRAW itself. You can either install it globally:\n\n```bash\nnpm install --global dcrawr\n\n# print help\ndcrawr\n\n# convert an image\ndcrawr -w -W IMG_1234.CR2\n```\n\nOr you can use it directly though `npx`:\n\n```bash\n# convert an image\nnpx dcrawr -w -W IMG_1234.CR2\n```\n\n## API\n\nThis module only exposes the path to the correct DCRAW binary, which you can use directly through `child_process`:\n\n```javascript\nconst dcraw = require('dcrawr');\nconst { promisify } = require('util');\nconst { execFile } = require('child_process');\nconst fs = require('fs');\n\n// -c will write the data to stdout\npromisify(execFile)(dcraw, ['-c', 'my-image.dng'], {\n  // hide the extra window on Windows\n  windowsHide: true,\n  // we want the raw data, not a string\n  encoding: 'buffer',\n  // 8-bit PPMs are roughly 3x bigger than the original raw file\n  // so you should set this number fairly high\n  maxBuffer: 1024 * 1024 * 100\n})\n  .then(result =\u003e {\n    // don't use the sync method... you get the idea though\n    fs.writeFileSync('./my-image.ppm', result.stdout);\n  }).catch(err =\u003e {\n    console.error(err);\n  });\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatdad%2Fdcrawr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatdad%2Fdcrawr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatdad%2Fdcrawr/lists"}