hateoas-typescript-model-test
TypeScript icon, indicating that this package has built-in type declarations

0.0.3-development • Public • Published

TypeScript hateoas model library

styled with prettier Greenkeeper badge Build Status

Usage

# Run following command 
  npm i hateoas-typescript-model-test
# Then import needed type from the library  
  - import {HalLink, HalLinks, HalPage, Resource, ResourceCollection} from 'hateoas-typescript-model-test';

Keep in mind

# Type Resource and ResourceCollection uses generic type variables
  type Resource<T> 
  interface ResourceCollection<T, K extends string>

You may take a deeper look at the model in :

node_modules/hateoas-typescript-model-test/dist/types/index.d.ts

Readme

Keywords

none

Package Sidebar

Install

npm i hateoas-typescript-model-test

Weekly Downloads

2

Version

0.0.3-development

License

MIT

Unpacked Size

7.5 kB

Total Files

10

Last publish

Collaborators

  • vladanyes