Utility to create Shoptimiza authentication headers
$ npm install shoptimiza-auth-header
const {
headerKey,
signGET,
unixTime,
} = require('shoptimiza-auth-header');
var url = 'https://api.shoptimiza.com/something';
var headers = {};
headers[headerKey] = signGET(apiKey, unixTime(), url, sharedSecret);
For more examples check the tests