Web3.js is a Javascript/Typescript library that allows developers to interact with the EVM compatible blockchains and build DApps.Web3.js v4 offered many new features, including Plugins to extend web3.js lib functionality. This enabled Optimism to develop a L2 plugin. With this Web3.js helps the developer ecosystem at multiple layers.
The web3.js library has significant impact on developers working with EVM blockchains including Optimism network. Web3.js has around 2 million downloads per month on NPM, and 10+ million CDN hits per month. There are 4500+ library projects depending on web3.js library.