nats

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

fmt

standard --fix './**/*.js'

lint

npm run lint:js && npm run lint:ts

test

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

cover

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

lint:js

standard './**/*.js'

lint:ts

tslint -c tslint.json index.d.ts 'tstest/**/*.ts'

depcheck

dependency-check --no-dev package.json

coveralls

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 --no-dev --entry ./**/*.js

test:typescript

./node_modules/typescript/bin/tsc --strict --noEmit tstest/main.ts

Metadata

Downloads