3.0.0 • Published 5 years ago

supreme-community-api-menox v3.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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.