@shoppersshop/api-js

1.0.4 • Public • Published

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.

API documentation

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.43latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.43
1.0.31
1.0.21
1.0.11
1.0.00

Package Sidebar

Install

npm i @shoppersshop/api-js

Weekly Downloads

6

Version

1.0.4

License

MIT

Unpacked Size

361 kB

Total Files

83

Last publish

Collaborators

  • oldevery
  • pavel-kiselyov
  • jmataya
  • everyshared