JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2224
  • Score
    100M100P100Q111226F
  • License MIT

Typescript definitions for HAL

Package Exports

  • hal-types

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hal-types) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.