Diagonal finance Backend SDK
npm install diagonal
SDK for easier interaction with the Diagonal backend.
| Diagonal SDK backend is a collection of classes which enables developers easier interaction with the Diagonal backend. |
| ---------------------------------------------------------------------------------------------------------------------- |
ā Jest tests & common test coverage for all packages (npm test)\
ā ESLint & Prettier to keep the code neat and well organized (npm run format & npm run lint)\
ā Automatic deployment of documentation generated with typedocs
---
| Package | Version | Downloads | Size |
|---|---|---|---|
diagonal (docs) |
``bash`
npm install diagonal
Please check: https://github.com/diagonal-finance/examples for example usage.
Clone this repository and install the dependencies:
`bash`
git clone https://github.com/diagonal-finance/sdk-node.git
cd sdk-node && npm i
`bash``
npm run lint # Syntax check with ESLint (yarn lint:fix to fix errors).
npm run format # Syntax check with Prettier (yarn prettier:fix to fix errors).
npm test # Run tests (with common coverage).
npm run build # Create a JS build.