nats

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

ava

nyc ava --verbose -T 60000

cjs

npm run cjs-nbc && npm run cjs-jetstream

fmt

deno fmt ./src/ ./examples/ ./test/

test

npm run check-package && npm run build && npm run ava

build

tsc

clean

shx rm -Rf ./lib/* ./nats-base-client ./.deps

setup

curl -fsSL https://deno.land/x/install/install.sh | sh

stage

npm run clean && npm run clone-nbc && npm run cjs && shx rm -Rf ./deps/ && npm run build

cjs-nbc

deno run --allow-all ./bin/cjs-fix-imports.ts -o nats-base-client/ ./.deps/nats.deno/nats-base-client

prepack

npm run clone-nbc && npm run cjs && npm run check-package && npm run build

clone-nbc

shx mkdir -p ./.deps && cd ./.deps && git clone --branch v1.15.1 https://github.com/nats-io/nats.deno.git

coveralls

shx mkdir -p ./coverage && nyc report --reporter=text-lcov > ./coverage/lcov.info

setup_win

choco install deno

cover:html

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

debug-test

node node_modules/.bin/ava --verbose -T 6500000 --match

check-package

deno run --allow-all bin/check-bundle-version.ts

cjs-jetstream

deno run --allow-all ./bin/cjs-fix-imports.ts -o jetstream/ ./.deps/nats.deno/jetstream/

Metadata

Downloads