Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 814 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 814 Bytes

@nulib/dcapi-types

Typescript NPM package for Northwestern University Libraries Digital Collections API.

Northwestern University Libraries

Installation

npm install @nulib/dcapi-types

Usage

import { type Work } from "@nulib/dcapi-types";

...

const work = await apiGetRequest<Work>(id);

Publishing/Updating Types

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.