0.0.3-development • Published 6 years ago

hateoas-typescript-model-test v0.0.3-development

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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