A JavaScript client library for interacting with Bloomreach Hippo CMS REST endpoints via the XIN Mods extension. Current version 1.7.2 provides a HippoConnection object with methods for document CRUD, path/UUID conversion, query building, and asset manipulation. It includes optional caching controlled by environment variables (CACHE_TTL, CACHE_DEBUG). Key differentiators: tailored for XIN Mods-powered Hippo CMS instances, supports custom API endpoints, and offers a fluid QueryBuilder for complex queries. Release cadence is irregular; last update appears to be 2022.
npm install xinmodsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to initialize a HippoConnection and fetch a document by UUID.
Set CACHE_TTL (seconds) and CACHE_DEBUG (true/false) as environment variables, or disable caching by passing { caching: false } in options.Ensure attributes are fully qualified with namespace prefix (e.g., 'test:title').
Use raw doc if namespace information is required.
Use const xinmods = require('xinmods'); const hippo = xinmods.connectTo(...);Use const xinmods = require('xinmods'); instead of import.Verify HIPPO_URL environment variable or first argument to connectTo points to a reachable server.
Use xinmods.connectTo(...) rather than new HippoConnection().