{"id":20951514,"url":"https://github.com/wll8/json-server-sql","last_synced_at":"2025-10-18T03:03:11.344Z","repository":{"id":241743522,"uuid":"807478690","full_name":"wll8/json-server-sql","owner":"wll8","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-21T07:01:34.000Z","size":125,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-01-19T22:49:02.453Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/wll8.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,"publiccode":null,"codemeta":null}},"created_at":"2024-05-29T07:20:22.000Z","updated_at":"2024-06-21T07:01:38.000Z","dependencies_parsed_at":"2024-05-29T23:29:55.548Z","dependency_job_id":"61ec2917-d456-4ad1-980f-68191d49ec46","html_url":"https://github.com/wll8/json-server-sql","commit_stats":null,"previous_names":["wll8/json-server-sql"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wll8%2Fjson-server-sql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wll8%2Fjson-server-sql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wll8%2Fjson-server-sql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wll8%2Fjson-server-sql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wll8","download_url":"https://codeload.github.com/wll8/json-server-sql/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243347655,"owners_count":20276223,"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","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-11-19T00:59:25.417Z","updated_at":"2025-10-18T03:03:11.265Z","avatar_url":"https://github.com/wll8.png","language":"TypeScript","readme":"# json-server-sql\n\n[![npm package][npm-img]][npm-url]\n[![Downloads][downloads-img]][downloads-url]\n[![Issues][issues-img]][issues-url]\n[![Code Coverage][codecov-img]][codecov-url]\n\n\u003e json-server 的 sql 适配器。\n\n## Install\n\n```bash\nnpm install json-server-sql\n```\n\n## Usage\n\n```ts\nimport { sqlService } from 'json-server-sql';\nimport { createApp } from 'json-server';\nconst app = createApp(db, {\n  service: sqlService\n})\napp.listen(3000, () =\u003e {\n  console.log('json-server-sql is running')\n})\n```\n\n## API\n\n### myPackage(input, options?)\n\n#### input\n\nType: `string`\n\nLorem ipsum.\n\n#### options\n\nType: `object`\n\n##### postfix\n\nType: `string`\nDefault: `rainbows`\n\nLorem ipsum.\n\n\n## Development\n\n``` sh\n# 安装依赖\npnpm i\n\n## 启动\npnpm run dev\n\n## 测试\npnpm run test\n\n## 编译\npnpm run build\n```\n\n[build-img]:https://github.com/wll8/json-server-sql/actions/workflows/release.yml/badge.svg\n[build-url]:https://github.com/wll8/json-server-sql/actions/workflows/release.yml\n[downloads-img]:https://img.shields.io/npm/dt/json-server-sql\n[downloads-url]:https://www.npmtrends.com/json-server-sql\n[npm-img]:https://img.shields.io/npm/v/json-server-sql\n[npm-url]:https://www.npmjs.com/package/json-server-sql\n[issues-img]:https://img.shields.io/github/issues/ryansonshine/json-server-sql\n[issues-url]:https://github.com/wll8/json-server-sql/issues\n[codecov-img]:https://codecov.io/gh/ryansonshine/json-server-sql/branch/main/graph/badge.svg\n[codecov-url]:https://codecov.io/gh/ryansonshine/json-server-sql","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwll8%2Fjson-server-sql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwll8%2Fjson-server-sql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwll8%2Fjson-server-sql/lists"}