nats

v1.4.9-1
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

standard './**/*.js'

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

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