2.0.0 • Published 4 years ago
sengi-example-doc-types v2.0.0
Sengi-Examples-Doc-Types
A library of example doc type definitions used to demonstrate the Sengi engine.
Installation
npm install sengi-examples-doc-types
Usage
const { exampleDocTypes } = require('sengi-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 pushes or pull-requests on non-master branches will trigger the test runner.
Any pushes to master will cause the library to be re-published.
2.0.0
4 years ago