{"library":"json-server","type":"library","category":null,"description":"json-server is a lightweight Node.js tool for rapidly creating a full fake REST API from a JSON or JSON5 file, requiring virtually no coding. It is currently in active development with a `v1.0.0-beta.x` series (current: `v1.0.0-beta.15`), and new beta versions are released frequently, sometimes multiple times a week, as features are added and fixes applied. The last stable release is `v0.17.4`. Its primary differentiation lies in its simplicity and speed, making it an ideal choice for frontend development prototyping, mobile app mocking, and quick testing environments where a real backend is not yet available or too complex to set up. It automatically handles typical REST operations (GET, POST, PUT, PATCH, DELETE) and supports advanced features like filtering, sorting, pagination, and relationships based on the structure of the provided data file.","language":"javascript","status":"active","version":"1.0.0-beta.15","tags":["javascript","JSON","server","fake","REST","API","prototyping","mock","mocking"],"last_verified":"Wed May 27","install":[{"cmd":"npm install json-server","imports":["import jsonServer from 'json-server';","import jsonServer from 'json-server';\nconst server = jsonServer.create();","npx json-server db.json"]},{"cmd":"yarn add json-server","imports":[]},{"cmd":"pnpm add json-server","imports":[]}],"homepage":"https://json-server.org","github":"https://github.com/typicode/json-server","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/json-server","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/json-server/compatibility"}}