nats

v1.2.6
Node.js client for NATS, a lightweight, high-performance cloud native messaging system
nats messaging pubsub publish subscribe queue distributed queueing

fmt

js-beautify -n --config crockford.jscsrc -r lib/* test/*.js test/support/*.js examples/* benchmark/*.js

lint

eslint ./lib ./examples ./benchmark ./test

test

npm run depcheck && npm run depcheck:unused && npm run lint && npm run test:unit

cover

nyc report --reporter=html && open coverage/index.html

depcheck

dependency-check . lib/*

coveralls

npm run test && nyc report --reporter=text-lcov | coveralls

test:unit

mkdir -p reports/ && NODE_ENV=test multi='spec=- xunit=reports/mocha-xunit.xml' nyc mocha --timeout 10000 --slow 750

depcheck:unused

dependency-check ./package.json --unused --no-dev lib/*

Metadata

Downloads