1.0.0 • Published 4 years ago

jsonotron-example-doc-types v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

A library of example doc type definitions used to demonstrate the Jsonotron engine

npm.io npm JavaScript Style Guide

A library of example doc type definitions used to demonstrate the Jsonotron engine.

This package is part of the Jsonotron system.

Jsonotron is...

  • a small set of components for building a NodeJS microservice
  • for storing, patching and querying JSON documents
  • stored in a schemaless/NoSQL database
  • that have known, enforceable, and evolving schemas.

Visit https://karlhulme.github.io/jsonotron/ for details on how to get started.

Installation

npm install jsonotron-examples-doc-types --save

Usage

const { exampleDocTypes } = require('jsonotron-example-doc-types')

const dt = exampleDocTypes.find(docType => docType.name === 'scientist')
console.log(dt.pluralName) // outputs 'scientists'

Development

Code base adheres to the rules chosen by https://standardjs.com/. Code is formatted with 2 spaces.

Tests are written using Jest with 100% coverage.

npm test

Continuous Deployment

Any commits to master will cause the library to be re-published.

1.0.0

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago