Run it anywhere

Stand up Understudy with one npm install and one function call. No build step, no Docker, and no admin rights. The only thing you provide is a store.

Understudy is built to be easy to stand up, on a laptop or in a shared environment. One install and one call, and you have a running stand-in.

One package, one call

It ships as a single npm package with built JavaScript, so it runs on plain node with no build step on your side. One call wires everything:

import { createUnderstudy } from '@xtrable-ltd/understudy/host';

const understudy = createUnderstudy({ store });

// understudy.handle(request) answers everything:
//   /api/*   the editor and its admin API
//   /s/*     your simulated API
//   else     the editor UI

That one call builds the login, the clock, id generation, sample data and webhooks for you. Your host file is just a thin wrapper that passes requests to handle.

You only provide a store

The single thing Understudy needs from you is a store: a small get, put and delete over keys. A local-folder store is included for solo work. For a shared or deployed setup, back it with storage your whole team can reach, and developers, testers and CI all point at the same stand-in.

No Docker. No admin rights. No system-level install. Ever.