This is a sub-package of web3.js.
web3-providers-ws
contains the Web3.js provider for the Websocket protocol.
You can install the package either using NPM or using Yarn
npm install web3-providers-ws
yarn add web3-providers-ws
- ✍️ If you have questions submit an issue or join us on Discord
Script | Description |
---|---|
clean | Uses rimraf to remove dist/ |
build | Uses tsc to build package and dependent packages |
lint | Uses eslint to lint package |
lint:fix | Uses eslint to check and fix any warnings |
format | Uses prettier to format the code |
test | Uses jest to run unit tests |
test:integration | Uses jest to run tests under /test/integration |
test:unit | Uses jest to run tests under /test/unit |