/model-collection

Primary LanguageJavaScriptISC LicenseISC

In development, don't use

model-collection

Simple model with collections

Installation

$ npm i --save model-collection

Usage

Scripts

  • npm run compile - Compiles source files to disk (~/lib).
  • npm run compile:watch - Same as npm run compile but watches files for changes.
  • npm run lint - Lints source and test files.
  • npm run lint:fix - Lints files and attempts to fix any issues.
  • npm run test - Runs unit tests.
  • npm run test:watch - Same as npm test but watches files for changes.
  • npm run test:cov - Generates a test coverage report.

Distribution

Execute one of the following commands

npm version patch -m "Bump to %s"
npm version minor -m "Bump to %s"
npm version major -m "Bump to %s"

License

MIT