Licence
MIT
Version
0.1.38
Deps
0
Size
92 kB
Vulns
0
Weekly
0
Shopletzy JavaScript Shop SDK
Shop SDK provides nice javascript api to interact with Shopletzy Storefront APIs
Getting started
Installation
This library is distributed on npm. In order to add it as a dependency, run the following command:
$ npm i @shopletzy/shop-sdk
if (url.includes("locations")) {
url = 'https://shop-api.testing.shopletzy.com' + url
} else {
url = 'http://localhost:4000' + url
}