Node Package Manager (npm) is required to start using this API. You can install npm here. Installing nodejs will automatically install npm.
To confirm you have successfully installed npm, go to your terminal and run
npm -v. This should return a version number, for example,
First, let's initialise npm for the folder by running
npm init. After successfully initialising npm, run this command in your terminal to install the AVN API:
npm install avn-api
This will download the avn-api command and add it to your npm packages in your chosen directory.
package.json file should have
avn-api in it, similar to this: