HMPO Model
JSON →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.
Resources
packagehmpo-model ↗