npm.io
5.7.0 • Published 5 years ago

node-shopify

Licence
MIT
Version
5.7.0
Deps
2
Size
36 kB
Vulns
0
Weekly
0
Stars
1

node-shopify

module for creating Shopify API calls

install dependencies

yarn install
# or
npm install 

build

yarn run build
# or
npm run build

example

import {Shopify} from 'node-shopify';

(async () => {
    const accessLogin = 'xxx';
    const accessPassword = 'shpat_yyy';
    const url = 'example.myshopify.com'
    const shopify = new Shopify(`https://${accessLogin}:${accessToken}@${url}`, 5000);
    //
    const products = (await shopify.getProducts()).unwrap();
})();

Keywords