UNPKG

wmt-marketplace-auth-canada

Version:

Generate the authentication headers required by Walmart Marketplace API.

7 lines (6 loc) 159 B
/** * Returns the current Epoch timestamp in milliseconds. */ export function epochInMilliseconds(): number { return Math.round((new Date()).getTime()); }