npm.io
3.0.0 • Published 6 years ago

supreme-community-api-menox

Licence
MIT
Version
3.0.0
Deps
3
Size
5 kB
Vulns
1
Weekly
0
Stars
14

supreme-community-api

NPM

How to install

npm install supreme-community-api --save

Usage (Promises)

const supremeCommunity = require("supreme-community-api");

supremeCommunity()
  .then((items) => console.log(items)) // [{name: 'Box Logo', price: '$50', image: 'http://'}, ...]
  .catch((err) => console.log(err));
Usage (Async/Await)
const supremeCommunity = require("supreme-community-api");

async function init() {
  const items = await supremeCommunity();

  console.log(items); // [{name: 'Box Logo', price: '$50', image: 'http://'}, ...]
}

License

supreme-community-api is licensed under MIT License.

Keywords