@ima/plugin-halson-rest-client
TypeScript icon, indicating that this package has built-in type declarations

2.0.4 • Public • Published

@ima/plugin-halson-rest-client

HAL+JSON REST API client for IMA applications.

Based on @ima/plugin-rest-client

HAL specification:

http://stateless.co/hal_specification.html or https://tools.ietf.org/html/draft-kelly-json-hal-07 (already expired).

Installation

npm install --save @ima/plugin-halson-rest-client
// /app/build.js

var vendors = {
	common: [
		'@ima/plugin-halson-rest-client'
	]
};

/*
Now is the halson-rest-client plugin available as:

import {
  AbstractHalsonEntity,         // The base class for typed REST API HALSON entities
  HalsonConfigurator,           // Configurator for the HAL+JSON REST API client configurator.
  HalsonLinkGenerator,          // URI generator for the HAL+JSON REST API client.
  HalsonResponsePostProcessor,  // REST API response post-processor
  HalsonRestClient,             // The REST API client for the HAL+JSON REST API.

  // decorators:
  embedName,
  idParameterName,
  inlineEmbeds
 } from '@ima/plugin-halson-rest-client';
*/

Package Sidebar

Install

npm i @ima/plugin-halson-rest-client

Weekly Downloads

7

Version

2.0.4

License

ISC

Unpacked Size

111 kB

Total Files

57

Last publish

Collaborators

  • corvidism
  • mjancarik
  • filipoliko
  • matej.marcisovsky
  • jsimck
  • hartja
  • zdenek.lastuvka
  • jan.kucera
  • ondrej.sliva