
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@agnostack/bigcommerce-request
Advanced tools
Please contact agnoStack via info@agnostack.com for any questions
🎮 Minimal BigCommerce API request library for Node
yarn add @agnostack/bigcommerce-request # npm install @agnostack/bigcommerce-request
const { createClient } = require('@agnostack/bigcommerce-request');
// import { createClient } from '@agnostack/bigcommerce-request'
const bigcommerce = new createClient({
store_id: '...', // BigCommerce Store Name.
client_id: '...', // BigCommercie Client Name.
access_token: '...', // BigCommerce OAuth token.
});
bigcommerce
.get('v3/catalog/products')
.then(console.log)
.catch(console.error);
bigcommerce
.post('v3/customers', {
first_name: 'Jane'
last_name: 'Doe',
email: 'johndoe@email.com'
})
.then(console.log)
.catch(console.error);
bigcommerce
.put('v3/customers', {
id: 1,
company: 'Company Name',
first_name: 'Jane'
last_name: 'Doe',
email: 'johndoe@email.com',
phone: '123456788900'
})
.then(console.log)
.catch(console.error);
const bigcommerce = new createClient({
store_id: '...',
client_id: '...',
access_token: '...',
headers: {
// ...
}
});
The API provides you the ability to send various request headers that change the way data is stored or retrieved.
By default this library will encode all data as JSON, however you can customise this by setting your own Content-Type header as an additional argument to get, patch, post, put and delete.
Note: If you add the Content-Type custom header to patch, post, put or delete you will need to encode data yourself.
const bigcommerce = new createClient({
store_id: '...',
client_id: '...',
access_token: '...'
});
const headers = {
'X-My-Header': 'custom'
};
bigcommerce
.get('v3/catalog/products', headers)
.then(console.log)
.catch(console.error);
Contact Adam Grohs @ agnoStack for any questions.
FAQs
Please contact agnoStack via info@agnostack.com for any questions
We found that @agnostack/bigcommerce-request demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.