{"id":15509755,"url":"https://github.com/willin/sdk0","last_synced_at":"2026-02-08T18:02:30.545Z","repository":{"id":42738785,"uuid":"282388631","full_name":"willin/sdk0","owner":"willin","description":"Minimum Viable SDK","archived":false,"fork":false,"pushed_at":"2023-01-06T12:24:08.000Z","size":711,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-12T14:28:53.577Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/willin.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}},"created_at":"2020-07-25T06:50:00.000Z","updated_at":"2021-07-23T07:46:19.000Z","dependencies_parsed_at":"2023-02-06T02:01:17.878Z","dependency_job_id":null,"html_url":"https://github.com/willin/sdk0","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/willin/sdk0","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willin%2Fsdk0","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willin%2Fsdk0/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willin%2Fsdk0/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willin%2Fsdk0/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willin","download_url":"https://codeload.github.com/willin/sdk0/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willin%2Fsdk0/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266301034,"owners_count":23907843,"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-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":[],"created_at":"2024-10-02T09:43:42.348Z","updated_at":"2026-02-08T18:02:25.505Z","avatar_url":"https://github.com/willin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sdk0\n\nMinimum viable sdk for all your projects.\n\n[![github](https://img.shields.io/github/followers/willin.svg?style=social\u0026label=Followers)](https://github.com/willin) [![npm](https://img.shields.io/npm/v/sdk0.svg)](https://npmjs.org/package/sdk0) [![npm](https://img.shields.io/npm/dm/sdk0.svg)](https://npmjs.org/package/sdk0) [![npm](https://img.shields.io/npm/dt/sdk0.svg)](https://npmjs.org/package/sdk0) [![Maintainability](https://api.codeclimate.com/v1/badges/2cc25e9843b39bc90545/maintainability)](https://codeclimate.com/github/willin/sdk0/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/2cc25e9843b39bc90545/test_coverage)](https://codeclimate.com/github/willin/sdk0/test_coverage) [![Build Status](https://travis-ci.org/willin/sdk0.svg?branch=master)](https://travis-ci.org/willin/sdk0)\n\n## Install\n\n```bash\nnpm install --save sdk0\n# or\nyarn add sdk0\n```\n\n## Usage\n\n```js\nconst sdk0 = require('sdk0');\n\nconst client = sdk0({\n  baseURL: 'https://api.xxxx.com',\n  timeout: 1000,\n  headers: {\n    'X-Custom-Header': 'foobar'\n  }\n});\n\n// Use just like axios:\nclient.get('/xxx').then();\n\nclient\n  .post('/xxx', {\n    // form body\n  })\n  .then();\n```\n\n## LICENSE\n\nApache-2.0\n\n通过支付宝捐赠：\n\n![qr](https://cloud.githubusercontent.com/assets/1890238/15489630/fccbb9cc-2193-11e6-9fed-b93c59d6ef37.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillin%2Fsdk0","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillin%2Fsdk0","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillin%2Fsdk0/lists"}