supreme-community-api
TypeScript icon, indicating that this package has built-in type declarations

4.0.1 • Public • Published

supreme-community-api

NPM

How to install

npm install supreme-community-api --save

Usage (Promises)

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

Usage (Async/Await)

const { scrape } = require("supreme-community-api");
 
async function init() {
  const items = await scrape();
 
  console.log(items); // [{name: 'Box Logo', price: '$50', image: 'http://'}, ...]
}

License

supreme-community-api is licensed under MIT License.

Package Sidebar

Install

npm i supreme-community-api

Weekly Downloads

8

Version

4.0.1

License

MIT

Unpacked Size

8.98 kB

Total Files

6

Last publish

Collaborators

  • sunstrous