Skip to content
This repository was archived by the owner on Mar 14, 2026. It is now read-only.

ENT8R/node-brocade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

43 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

brocade

test npm version npm downloads coverage

Module for making requests to the Brocade API

Installation

npm

npm install node-brocade --save 

unpkg

<script src="https://unpkg.com/node-brocade@2.0.1/dist/main.min.js"></script> 

Usage

const brocade = require('node-brocade'); brocade.item('4335896051932').then(data => { console.log(JSON.stringify(data)); }).catch(error => { console.log(error.message); });

Features

Get an item by its GTIN

brocade.item('4335896051932').then(data => { console.log(JSON.stringify(data)); }).catch(error => { console.log(error.message); });

List the first 100 products

brocade.list().then(data => { console.log(JSON.stringify(data)); }).catch(error => { console.log(error.message); });

List all items of a specific page

brocade.page('20').then(data => { console.log(JSON.stringify(data)); }).catch(error => { console.log(error.message); });

Search for items

brocade.query('peanut butter').then(data => { console.log(JSON.stringify(data)); }).catch(error => { console.log(error.message); });

License

GPL-3.0

About

πŸ”Ž Module for making requests to the Brocade API

Topics

Resources

License

Stars

Watchers

Forks

Packages