Package Exports
- nexo-pro
- nexo-pro/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nexo-pro) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
nexo-pro
๐ Unofficial Node.js connector for the Nexo Pro APIs, with TypeScript & browser support. ๐
๐ง Installation
yarn add nexo-pro๐ช Examples
copy the .env.template file in .env and fills the variables.
run an example using ts-node:
ts-node examples/client.ts๐ Documentation
Check out the Nexo Pro API Documentation
Create API credential at Nexo Pro API Management
๐ท๏ธ REST API Client
import Client from '../src/client';
const client = new Client({
api_key: key,
api_secret: secret,
});
const accountSummary = await client.getAccountSummary();
console.log(accountSummary);๐งช Tests
copy the .env.template file in .env and fills the variables.
run all the tests:
yarn test๐ฆ Browser Usage
Build a bundle using webpack:
yarn install
yarn build
yarn packThe bundle can be found in ./.
๐ Contributions & Pull Requests
Contributions are encouraged, I will review any incoming pull requests.
Be sur to run yarn test to run all tests and yarn prettier to run the prettier.
โ ๏ธ Disclamer
This is an unofficial NodeJS wrapper for the Nexo Pro exchange REST API v1. I am in no way affiliated with Nexo, use at your own risk.