Building a paired site SDK
The pattern: a small branded npm package that wraps the site surface.
Updated
On this page
Why a package at all
A platform that builds many client sites wants every site to consume the surface the same way. The pattern: publish a small, branded package (private repo, installed from GitHub — never npm) that wraps /api/site/*:
npm install github:<org>/<platform>-sdk