The documentation for Web3.js can be found here