Refer to the documentation of the ParaSwap API: https://developers.paraswap.network
Versatility: works with both web3 and ethers without direct dependency
Canonical: bring only the functions you actually need
Lightweight: 400B Gzipped for the minimal variant
yarn add @paraswap/sdk