StarkNet.js is a library that allows JavaScript programs like web and mobile apps to interface with the StarkNet network. It follows the ethers.js architecture used for Ethereum. The primary APIs are Provider, Account, Signer, and Contract. The Provider API allows interaction with StarkNet without signing, while Account adds signing capabilities. Signer signs transactions and messages. Contract allows working with StarkNet smart contracts through data transformation and calling/invoking contracts. Version 3 of StarkNet.js will be released the next day with this new API.