2.0.0 • Published 4 years ago

sengi-example-doc-types v2.0.0

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

Sengi-Examples-Doc-Types

npm.io npm JavaScript Style Guide

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.