Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

hal-types

0.1.2 • Public • Published

Typescript types for HAL documents

This repository exports a set of typescript types for HAL documents.

It exports the following interfaces:

  1. HalLink, representing an individual HAL Link
  2. HalResource, representing a single HAL document, with at least a _links property and optionally an _embedded property.

In addition to the standard HAL Link properties such as href and title, it also has support for Link hints, as defined in draft-nottingham-link-hint.

Install

npm i hal-types

DownloadsWeekly Downloads

14

Version

0.1.2

License

MIT

Unpacked Size

10.8 kB

Total Files

9

Last publish

Collaborators

  • avatar