Author: Wim M Desmet
database layer
$ npm install storage
or
$ npm install storage --production
for a production only installation (no tests, documentation, ...).
var storage = require("storage");
storage("blipblip");
$ npm test
$ npm run test-cov
This will generate a folder coverage
containing coverage information and a folder coverage/lcov-report
containing an HTML report with the coverage results.
$ npm run test-ci
will create a folder coverage
containing lcov
formatted coverage information to be consumed by a 3rd party coverage analysis tool. This script is typically used on a continuous integration server.
$ npm run benchmark
Executing
$ npm run check-style
will run the jscs
stylechecker against the code.
Executing
$ npm run code-analysis
will run jshint
to analyse the code.
Executing
$ npm run make-docs
will run jsdoc
to create documentation.
MIT