engine.io-client

v6.6.1
Client for the realtime Engine

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 --bail --require test/support/hooks.js test/index.js test/webtransport.mjs

test:node-fetch

USE_FETCH=1 npm run test:node

test:browser

zuul test/index.js

build

rimraf ./dist && rollup -c support/rollup.config.umd.js && rollup -c support/rollup.config.esm.js

bundle-size

node support/bundle-size.js

format:check

prettier --check 'lib/**/*.ts' 'test/**/*.js' 'test/webtransport.mjs' 'support/**/*.js'

format:fix

prettier --write 'lib/**/*.ts' 'test/**/*.js' 'test/webtransport.mjs' 'support/**/*.js'

prepack

npm run compile
npm i engine.io-client

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 9/21/2024

Downloads