{"library":"express-partial-response","type":"library","category":null,"description":"express-partial-response is an Express.js middleware designed to filter parts of JSON responses based on a `fields` query-string parameter. It mimics the \"Partial Response\" feature found in Google APIs, allowing clients to request only a subset of data from an API endpoint, thereby reducing bandwidth and processing on the client side. The current stable version is 1.0.4. The project appears to be in a maintenance state, with no recent major updates mentioned, suggesting a stable and complete feature set rather than active development. Its core functionality is powered by the `json-mask` library, which handles the actual JSON object filtering according to the specified field syntax. This middleware differentiates itself by providing a direct, out-of-the-box integration for Express applications, simplifying the implementation of partial responses without requiring manual integration of `json-mask` into every route.","language":"javascript","status":"maintenance","version":"1.0.4","tags":["javascript","express","partial-response","filter","mask","select","fields","projection","query"],"last_verified":"Wed May 27","install":[{"cmd":"npm install express-partial-response","imports":["const partialResponse = require('express-partial-response');","app.use(partialResponse({ query: 'filter' }));"]},{"cmd":"yarn add express-partial-response","imports":[]},{"cmd":"pnpm add express-partial-response","imports":[]}],"homepage":null,"github":"https://github.com/nemtsov/express-partial-response","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/express-partial-response","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/express-partial-response/compatibility"}}