{"id":37029230,"url":"https://github.com/devsnek/snekfetch","last_synced_at":"2026-01-14T03:30:21.747Z","repository":{"id":57364665,"uuid":"84529546","full_name":"devsnek/snekfetch","owner":"devsnek","description":"fast, efficient, and user-friendly http requests","archived":true,"fork":false,"pushed_at":"2018-09-05T19:12:58.000Z","size":1666,"stargazers_count":77,"open_issues_count":0,"forks_count":21,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-08-15T01:35:52.217Z","etag":null,"topics":["badge","browser","browser-request","cool","coverage-badge","coverage-link","deflate-response","deps-badge","deps-link","fast","gzip-response","http","http-client","http-request","nodejs","stats-link","tiny","unpkg","unpkg-link"],"latest_commit_sha":null,"homepage":"https://snekfetch.js.org/","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/devsnek.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-10T06:57:42.000Z","updated_at":"2023-01-28T20:05:02.000Z","dependencies_parsed_at":"2022-09-13T02:32:16.923Z","dependency_job_id":null,"html_url":"https://github.com/devsnek/snekfetch","commit_stats":null,"previous_names":["guscaplan/node-fetcher"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devsnek/snekfetch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsnek%2Fsnekfetch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsnek%2Fsnekfetch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsnek%2Fsnekfetch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsnek%2Fsnekfetch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devsnek","download_url":"https://codeload.github.com/devsnek/snekfetch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsnek%2Fsnekfetch/sbom","scorecard":{"id":113521,"data":{"date":"2025-08-11","repo":{"name":"github.com/devsnek/snekfetch","commit":"892714c20d6446dcb1e132323c5f78fa935115ed"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"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":"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":"Code-Review","score":0,"reason":"Found 1/30 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":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"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":"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":"CII-Best-Practices","score":2,"reason":"badge detected: InProgress","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":"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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-15T18:49:21.482Z","repository_id":57364665,"created_at":"2025-08-15T18:49:21.482Z","updated_at":"2025-08-15T18:49:21.482Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408843,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"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":["badge","browser","browser-request","cool","coverage-badge","coverage-link","deflate-response","deps-badge","deps-link","fast","gzip-response","http","http-client","http-request","nodejs","stats-link","tiny","unpkg","unpkg-link"],"created_at":"2026-01-14T03:30:19.994Z","updated_at":"2026-01-14T03:30:21.731Z","avatar_url":"https://github.com/devsnek.png","language":"JavaScript","readme":"[![npm][download-badge]][npm]\n[![David][dep-badge]][dep-link]\n[![Coverage Status][coverage-badge]][coverage-link]\n[![Build Status][build-badge]][build-link]\n\n[![NPM][large-badge]][stats-link]\n\n# snekfetch \u003csup\u003e[![Version Badge][version-badge]][npm]\u003c/sup\u003e\n\nSnekfetch is a fast, efficient, and user-friendly library for making HTTP requests.\n\nIt also supports native ALPN negotiation in node for efficient http/2 requests!\n\nThe API was inspired by superagent, however it is much smaller and faster.\nIn fact, in browser, it is a mere 4.0kb.\n\nDocumentation is available at https://snekfetch.js.org/\n\n## Some examples\n\n```javascript\nconst request = require('snekfetch');\n\nrequest.post('https://httpbin.org/post')\n  .send({ usingGoodRequestLibrary: true })\n  .then(r =\u003e console.log(r.body)); // r.body is object from json response\n\nrequest.get('https://s.gc.gy/o-SNAKES.jpg')\n  .then(r =\u003e fs.writeFile('download.jpg', r.body)); // r.body is buffer\n\nrequest.get('https://s.gc.gy/o-SNAKES.jpg')\n  .pipe(fs.createWriteStream('download.jpg')); // pipes\n```\n\nAvailable for browser as UMD from [unpkg][unpkg-link]\n```html\n\u003cscript src=\"https://unpkg.com/snekfetch\"\u003e\u003c/script\u003e\n```\n\n[npm]: https://npmjs.org/package/snekfetch\n[large-badge]: https://nodei.co/npm/snekfetch.png?downloads=true\u0026downloadRank=true\u0026stars=true\n[stats-link]: https://nodei.co/npm/snekfetch/\n[version-badge]: https://versionbadge.now.sh/npm/snekfetch.svg\n[download-badge]: https://img.shields.io/npm/dt/snekfetch.svg?maxAge=3600\n[build-badge]: https://api.travis-ci.com/devsnek/snekfetch.svg?branch=master\n[build-link]: https://travis-ci.com/devsnek/snekfetch\n[dep-badge]: https://david-dm.org/devsnek/snekfetch.svg\n[dep-link]: https://david-dm.org/devsnek/snekfetch\n[coverage-badge]: https://coveralls.io/repos/github/devsnek/snekfetch/badge.svg?branch=master\n[coverage-link]: https://coveralls.io/github/devsnek/snekfetch?branch=master\n[unpkg-link]: https://unpkg.com/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsnek%2Fsnekfetch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevsnek%2Fsnekfetch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsnek%2Fsnekfetch/lists"}