{"library":"rest-resource","type":"library","category":null,"description":"Simplifies REST API consumption by modeling endpoints as classes with caching, relationship resolution, validation, and attribute normalization. Current version 0.11.0. Release cadence is irregular with last update in 2021. Differentiators include automatic caching with configurable TTL, cross-resource attribute resolution (e.g., await comment.resolveAttribute('post.author.city')), and built-in validation/normalization hooks.","language":"javascript","status":"maintenance","version":"0.11.0","tags":["javascript","rest","api","model","cache","caching","express","restify","vue","typescript"],"install":[{"cmd":"npm install rest-resource","imports":["import Resource from 'rest-resource'","import Resource from 'rest-resource'; class UserResource extends Resource { ... }","import type { ResourceType } from 'rest-resource'"]},{"cmd":"yarn add rest-resource","imports":[]},{"cmd":"pnpm add rest-resource","imports":[]}],"homepage":"https://github.com/baseprime/rest-resource#readme","github":"https://github.com/baseprime/rest-resource","docs":null,"changelog":null,"pypi":null,"npm":"rest-resource","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Sun Jun 07","next_check":"Sat Sep 05","install_tag":null}}