A Simple NodeJS Akamai token generator library
using yarn:
yarn add akamai-auth-token
Or with npm:
npm install akamai-auth-token
var Akamai = require('akamai-auth-token');
var config = {
algorithm : 'SHA256',
acl : '/*',
window : 6000,
key : "myPrivateKey",
encoding: false
};
var akamai = new Akamai(config),
token = akamai.generateToken();