Packet Node.js API Client Banner

Welcome to Packet Node.js API Client.

For more information about our API endpoints, please visit our API Documentation.


There are two ways to get started:

  1. Install our Node.js CLI as npm package: npm install packet-nodejs

  2. Clone our public repo in GitHub: git clone [email protected]:packethost/packet-nodejs.git


Packet = require('packet-nodejs');
var api = new Packet('YOU API TOKEN HERE');
//You can change your Token later on
api.setApiToken('YOUR NEW TOKEN');

Routes & Methods

For more information on available router and methods, please visit Packet Node.js CLI public repo.

Was it helpful?