A collection of common functions for working with Shopee API in Node.js environment.
$ npm install shopi
import {generateShopAuthUrl} from 'shopi';
const shopAuthUrl = generateShopAuthUrl(partnerId, partnerKey, redirectUrl, isTest);
Type: boolean
Default: false
Set to true
to generate shop authorisation URL for test environment.
import {generateSignature} from 'shopi';
const signature = generateSignature(partnerKey, signatureBaseString);
To build: $ npm run build
To publish: $ npm version && npm publish