Wondering what’s next for npm?Check out our public roadmap! »

hal-typesTypeScript icon, indicating that this package has built-in type declarations

1.6.1 • 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 _embedded property and _templates properties.
  3. LinkHints, an extension to links, as defined in draft-nottingham-link-hint.
  4. HalFormsTemplate, A HAL Forms template object.
  5. HalFormsProperty A single property from a HAL Form.

Install

npm i hal-types

DownloadsWeekly Downloads

291

Version

1.6.1

License

MIT

Unpacked Size

18.3 kB

Total Files

9

Last publish

Collaborators

  • avatar