1.0.4 • Published 7 years ago
@shoppersshop/api-js v1.0.4
SHOP API.js
Overview
API.js is a JavaScript library that helps SHOP Protocol developers create powerful, customized storefronts on top of the SHOP Protocol API. It does this by creating an easy abstraction of available API operations and by providing convenient helper methods.
This API layer is framework agnostic as we don't to impose a framework decision such as React or Angular on customers.
API.js will be build in ES6 and transpiled to ES5. It won't use ES7 features.
Installation
$ yarn add @shoppersshop/api-js
Usage
import ShopAPI from `@shoppersshop/api-js`
// args could include API domain & path data, public_key, etc
const api = new ShopAPI({ args })
Contributing
Thanks for considering to help out with our source code! We operate on an open contributor model where anyone across the Internet can help in the form of peer preview, testing, and patches.
For more details about how to get involved, see our Contribution Guide
License
MIT