hubris
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

Hubris - TypeScript Uber Hypermedia Client

Hypermedia client for interacting with the Uber hypermedia format.

pipeline status code coverage

Examples

import 'isomorphic-fetch';
import { follow, parse, query, relMatch, IUberDocumeny } from 'hubris';
 
 
fetch('/people')
  .then(parse)
  .then(query(relMatch('search')))
  .then(data => follow(data, { q: 'John Doe' })
  .then(parse)
  .then((resultsDoc: IUberDocument) => console.log('Document', resultsDoc));
 

Readme

Keywords

none

Package Sidebar

Install

npm i hubris

Weekly Downloads

0

Version

2.0.1

License

MIT

Unpacked Size

7.23 MB

Total Files

42

Last publish

Collaborators

  • petejohanson