0.1.1 • Published 9 years ago
barcostorage v0.1.1
storage
Author: Wim M Desmet
database layer
Installation
$ npm install storage
or
$ npm install storage --production
for a production only installation (no tests, documentation, ...).
Usage
var storage = require("storage");
storage("blipblip");
Tests
Unit Tests
$ npm test
Unit Tests with Code Coverage
$ 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.
Benchmarks
$ npm run benchmark
Checkstyle
Executing
$ npm run check-style
will run the jscs
stylechecker against the code.
Static Code Analysis
Executing
$ npm run code-analysis
will run jshint
to analyse the code.
Code Documentation
Executing
$ npm run make-docs
will run jsdoc
to create documentation.
License
MIT