Unofficial Node.js library for the Sendle API
MIT License
In order to use this library, you need to have an account on https://www.sendle.com/. After registering, you will need the application credentials for your app.
This SDK supports Node.js version 14+.
We test the library against a selection of Node.js versions which we update over time. Please refer to main.yml for the set of versions that are currently tested with CI.
If you find any compatibility issues, please raise an issue in the repository.
You need to be running at least Node.js 14 to use this library.
$ yarn add sendle-node
import { SendleClient } from 'sendle-node';
const client = new SendleClient({
sendleId: 'yourSendleId',
apiKey: 'yourApiKey',
sandbox: true, // default to false
gotOptions: {}, // See https://github.com/sindresorhus/got#api
});
See the docs for usage reference.
yarn install
or npm install
yarn build
or npm run build
yarn start
or npm run start