{"id":17921835,"url":"https://github.com/3axap4ehko/apidly","last_synced_at":"2026-05-15T21:08:23.645Z","repository":{"id":57182059,"uuid":"349465519","full_name":"3axap4eHko/apidly","owner":"3axap4eHko","description":"Node and Browser API module.","archived":false,"fork":false,"pushed_at":"2024-02-24T00:20:22.000Z","size":1985,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-09T01:34:29.682Z","etag":null,"topics":["api","browser","client","nodejs","rest","rest-api"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/3axap4eHko.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}},"created_at":"2021-03-19T15:14:51.000Z","updated_at":"2023-07-08T14:27:05.000Z","dependencies_parsed_at":"2023-12-02T01:27:28.168Z","dependency_job_id":"d7885763-f745-4b01-ad99-84e778f607f3","html_url":"https://github.com/3axap4eHko/apidly","commit_stats":{"total_commits":503,"total_committers":3,"mean_commits":"167.66666666666666","dds":"0.14115308151093442","last_synced_commit":"c7467f5b0744d335d5c2ac495798d192076b3e0c"},"previous_names":[],"tags_count":286,"template":false,"template_full_name":null,"purl":"pkg:github/3axap4eHko/apidly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3axap4eHko%2Fapidly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3axap4eHko%2Fapidly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3axap4eHko%2Fapidly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3axap4eHko%2Fapidly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/3axap4eHko","download_url":"https://codeload.github.com/3axap4eHko/apidly/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3axap4eHko%2Fapidly/sbom","scorecard":{"id":3417,"data":{"date":"2025-08-11","repo":{"name":"github.com/3axap4eHko/apidly","commit":"e14334ed8b7f64471808e5c38408ae8dcb3c2924"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"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":"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":"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/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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/cicd.yml:1","Warn: no topLevel permission defined: .github/workflows/upgrade.yml:1","Info: no jobLevel write permissions found"],"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":10,"reason":"no dangerous workflow patterns detected","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":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/cicd.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/3axap4eHko/apidly/cicd.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/cicd.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/3axap4eHko/apidly/cicd.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/cicd.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/3axap4eHko/apidly/cicd.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/upgrade.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/3axap4eHko/apidly/upgrade.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/upgrade.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/3axap4eHko/apidly/upgrade.yml/master?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"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":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":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"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":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv"],"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-14T13:03:38.137Z","repository_id":57182059,"created_at":"2025-08-14T13:03:38.137Z","updated_at":"2025-08-14T13:03:38.137Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274856159,"owners_count":25362557,"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-09-12T02:00:09.324Z","response_time":60,"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":["api","browser","client","nodejs","rest","rest-api"],"created_at":"2024-10-28T20:36:21.558Z","updated_at":"2026-05-15T21:08:23.613Z","avatar_url":"https://github.com/3axap4eHko.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# APIDLY\n\nNodeJS and Browser API client.\nIn order to use with NodeJS please pick you favorite Fetch API polyfill library like [cross-fetch](https://www.npmjs.com/package/cross-fetch).\n\n[![Build Status][github-image]][github-url]\n[![NPM version][npm-image]][npm-url]\n[![Downloads][downloads-image]][npm-url]\n[![Coverage Status][codecov-image]][codecov-url]\n[![Maintainability][codeclimate-image]][codeclimate-url]\n[![Snyk][snyk-image]][snyk-url]\n\n## Table of Contents\n\n  - [Features](#features)\n  - [Browser Support](#browser-support)\n  - [Installing](#installing)\n  - [Examples](#examples)\n  - [License](#license)\n\n## Features\n\n- Uses [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch) (requires fetch polyfill for NodeJS)\n- Automatic transforms for JSON/Form data. Also, supports any custom data transformation\n- TypeScript support\n- Retry mechanism\n- Request and Response middlewares\n\n## Browser Support\n\n![Chrome][chrome-image] | ![Firefox][firefox-image] | ![Safari][safari-image] | ![Opera][opera-image] | ![Edge][edge-image] |\n--- | --- | --- | --- | --- |\nLatest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |\n\n\n[chrome-image]: https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png?1\n[firefox-image]: https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png?1\n[safari-image]: https://raw.github.com/alrra/browser-logos/master/src/safari/safari_48x48.png?1\n[opera-image]: https://raw.github.com/alrra/browser-logos/master/src/opera/opera_48x48.png?1\n[edge-image]: https://raw.github.com/alrra/browser-logos/master/src/edge/edge_48x48.png?1\n\n## Installing\n\nUsing yarn:\n\n```bash\n$ yarn add apidly\n```\n\nUsing npm:\n\n```bash\n$ npm install apidly\n```\n\n## Examples\n\n### Simple Example\n\n```typescript\nimport 'cross-fetch/polyfill';\nimport { createClient, createEndpoint } from 'apidly';\n\nconst client = createClient({ base: 'https://api.example.com' });\n\ninterface Post {\n  id: string;\n  title: string;\n  content: string;\n}\n\nconst postsListEndpoint = createEndpoint\u003cPost[]\u003e('/api/v1/posts');\n\nexport const listPosts = () =\u003e client(postsListEndpoint);\n```\n\n### Advanced Example\n\n```typescript\nimport { createClient, createEndpoint, formRequest, ApidlyRequest } from '../index';\nimport { getAccessToken } from './authorization';\n\nconst client = createClient({\n  base: 'https://api.example.com',\n  headers: { locale: 'en_US' },     // default client's headers\n  requestType: formRequest,         // use form-urlencoded request type\n  maxRetries: 3,                    // additional retries count\n}).request(async (url: URL, request: ApidlyRequest) =\u003e {\n  // custom request middleware with authentication\n  const token = await getAccessToken();\n  request.headers.set('authorization', `Bearer ${token}`);\n});\n\ninterface Post {\n  id: string;\n  title: string;\n  content: string;\n}\n\ninterface UpdatePostParams {\n  id: string;\n}\n\ninterface UpdatePostData {\n  title: string;\n  content: string;\n}\n\nconst postsUpdateEndpoint = createEndpoint\u003cPost, UpdatePostParams, UpdatePostData\u003e('/api/v1/posts/{id}', { method: 'put' });\n\nexport function updatePost(id: string, post: UpdatePostData) {\n  return client(postsUpdateEndpoint, { params: { id }, data: post });\n}\n```\n\n## License\n\nLicense [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)\nCopyright (c) 2021-present Ivan Zakharchanka\n\n[npm-url]: https://www.npmjs.com/package/apidly\n[downloads-image]: https://img.shields.io/npm/dw/apidly.svg?maxAge=43200\n[npm-image]: https://img.shields.io/npm/v/apidly.svg?maxAge=43200\n[github-url]: https://github.com/3axap4eHko/apidly/actions/workflows/cicd.yml\n[github-image]: https://github.com/3axap4eHko/apidly/actions/workflows/cicd.yml/badge.svg\n[codecov-url]: https://codecov.io/gh/3axap4eHko/apidly\n[codecov-image]: https://codecov.io/gh/3axap4eHko/apidly/branch/master/graph/badge.svg?token=JZ8QCGH6PI\n[codeclimate-url]: https://codeclimate.com/github/3axap4eHko/apidly/maintainability\n[codeclimate-image]: https://api.codeclimate.com/v1/badges/0ba20f27f6db2b0fec8c/maintainability\n[snyk-url]: https://snyk.io/test/npm/apidly/latest\n[snyk-image]: https://img.shields.io/snyk/vulnerabilities/github/3axap4eHko/apidly.svg?maxAge=43200\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3axap4ehko%2Fapidly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F3axap4ehko%2Fapidly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3axap4ehko%2Fapidly/lists"}