A JS development framework for building, testing, compiling, and deploying Solidity contracts.
Testing Smart Contracts with Truffle
The official Ethereum JS API. This is not what Truffle uses in its console and tests. If you try to use the Web3 API in Truffle, you will be sad. Read the truffle-contract docs instead.