{"library":"hmpo-model","type":"library","category":null,"description":"HMPO Model is a Node.js library for creating simple data models with local and remote (HTTP/REST) backends. Version 7.0.1 uses the `got` HTTP library, replacing the deprecated `request`. It provides a LocalModel for in-memory data persistence with change events and a RemoteModel subclass for REST API interactions supporting GET (fetch), POST (save), and DELETE (destroy) methods. Key differentiators include its event-driven model, proxy support via request config, and explicit URL and auth methods for API requests. It is maintained by UK Home Office HMPO and targets Node.js 24.x.","language":"javascript","status":"active","version":"7.0.1","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install hmpo-model","imports":["import HmpoModel from 'hmpo-model'","import { localModel } from 'hmpo-model'","import { remoteModel } from 'hmpo-model'"]},{"cmd":"yarn add hmpo-model","imports":[]},{"cmd":"pnpm add hmpo-model","imports":[]}],"homepage":"https://github.com/HMPO/hmpo-model#readme","github":"https://github.com/HMPO/hmpo-model","docs":null,"changelog":null,"pypi":null,"npm":"hmpo-model","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}