0.1.1 • Published 10 years ago
barcostorage v0.1.1
storage
Author: Wim M Desmet
database layer
Installation
$ npm install storageor
$ npm install storage --productionfor a production only installation (no tests, documentation, ...).
Usage
var storage = require("storage");
storage("blipblip");Tests
Unit Tests
$ npm testUnit Tests with Code Coverage
$ npm run test-covThis 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-ciwill 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 benchmarkCheckstyle
Executing
$ npm run check-stylewill run the jscs stylechecker against the code.
Static Code Analysis
Executing
$ npm run code-analysiswill run jshint to analyse the code.
Code Documentation
Executing
$ npm run make-docswill run jsdoc to create documentation.
License
MIT