Weekly downloads
Changelog
[1.9.0]
Add optional hexFormat
param to getTransaction
and getBlock
that accepts the value 'hex'
(#5845)
utils.toNumber
and utils.hexToNumber
can now return the large unsafe numbers as BigInt
, if true
was passed to a new optional parameter called bigIntOnOverflow
(#5845)
Updated @types/bn.js dependency to 5.1.1 in web3, web3-core and web3-eth-contract as reason mentioned in #5640 (#5885)
Add description to error for failed connection on websocket (#5884)
Readme
This is the main package of web3.js.
Please read the main README and documentation for more.
You can install the package either using NPM or using Yarn
npm install web3
yarn add web3
All the TypeScript typings are placed in the types
folder.
FAQs
Ethereum JavaScript API
The npm package web3 receives a total of 488,452 weekly downloads. As such, web3 popularity was classified as popular.
We found that web3 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.