{"library":"bedrock-rest","type":"library","category":null,"description":"A Bedrock module that adds helpers for REST support, including resource handlers, ID parameter validation, and content negotiation for JSON, JSON-LD, and HTML requests. Version 3.0.0 is the latest stable release, compatible with Bedrock 1.x-3.x and Node.js >=8. It provides middleware like makeResourceHandler and idParam for express-based applications. Differentiators include tight integration with the Bedrock ecosystem and automatic type negotiation.","language":"javascript","status":"active","version":"3.0.0","tags":["javascript","bedrock"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install bedrock-rest","imports":["const brRest = require('bedrock-rest');","const { idParam } = require('bedrock-rest');","const { makeResourceHandler } = require('bedrock-rest');","const { when } = require('bedrock-rest');"]},{"cmd":"yarn add bedrock-rest","imports":[]},{"cmd":"pnpm add bedrock-rest","imports":[]}],"homepage":"https://github.com/digitalbazaar/bedrock-rest","github":"https://github.com/digitalbazaar/bedrock-rest","docs":null,"changelog":null,"pypi":null,"npm":"bedrock-rest","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}