@tylerbu/socket.io-client

v4.7.2
Realtime application framework client
realtime framework websocket tcp events client

compile

rimraf ./build && tsc && tsc -p tsconfig.esm.json && ./postcompile.sh

test

npm run format:check && npm run compile && if test "$BROWSERS" = "1" ; then npm run test:browser; else npm run test:node; fi

test:node

mocha --require ts-node/register --reporter dot --require test/support/hooks.ts --timeout 5000 --exit test/index.ts

test:browser

ts-node test/browser-runner.ts

test:types

tsd

build

rollup -c support/rollup.config.umd.js && rollup -c support/rollup.config.esm.js && rollup -c support/rollup.config.umd.msgpack.js

format:check

prettier --check "*.js" "lib/**/*.ts" "test/**/*.ts" "support/**/*.js"

format:fix

prettier --write "*.js" "lib/**/*.ts" "test/**/*.ts" "support/**/*.js"

prepack

npm run compile
npm i @tylerbu/socket.io-client

Metadata

  • MIT
  • >=10.0.0
  • Unknown
  • released 11/2/2023

Downloads

Maintainers