0.1.8 • Published 5 years ago
tiny-blog-model v0.1.8
tiny-blog-model
Data model for tiny-blog.
Models follow the tiny-blog-api spec: https://github.com/strangedev/tiny-blog-api/tree/master/spec
Related repos
- tiny-blog: https://github.com/strangedev/tiny-blog
- tiny-blog-api: https://github.com/strangedev/tiny-blog-api
- tiny-blog-backend: https://github.com/strangedev/tiny-blog-backend
- tiny-blog-ui: https://github.com/strangedev/tiny-blog-ui
- tiny-blog-db: https://github.com/strangedev/tiny-blog-db
Usage
import {BlogEntry} from "tiny-blog-model";
let blogEntry = BlogEntry.unMarshal(JSON.parse(...));
Development
yarn install
# transpile JS to build/
yarn run build
# run tests
yarn run test