Typescript NPM package for Northwestern University Libraries Digital Collections API.
Northwestern University Libraries
npm install @nulib/dcapi-types
import { type Work } from "@nulib/dcapi-types";
...
const work = await apiGetRequest<Work>(id);
Types are generated by: Digital Collections API and PR'd into the main
branch when the API is versioned. The staging
branch tracks changes to the private staging DC API for development purposes only.