
Research
Node.js Fixes AsyncLocalStorage Crash Bug That Could Take Down Production Servers
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.
shopify-api
Advanced tools

shopify-api is a node library for working with the Shopify API. It is designed to abstract away requests while returning unmodified responses. It should be used as a building block for other modules/packages which can handle any additional abstraction needed based on the API resource that they are working with.
npm install shopify-api --save
You can also use npm install https://github.com/ctalkington/node-shopify-api/archive/master.tar.gz to test upcoming versions.
This module is meant to be wrapped internally by other modules and therefore lacks any frontend interface.
Every resource is accessed via your shopify instance:
var shopify = require('shopify-api')(options);
// shopify.{ RESOURCE_NAME }.{ METHOD_NAME }
Every resource method accepts an optional callback as the last argument:
shopify.asset.create(
{ key: '...', value: '...' },
function(err, asset) {
if (err) {
throw err;
}
console.log(asset);
}
);
Additionally, every resource method returns a promise, so you don't have to use the regular callback. E.g.
shopify.asset.create({
key: '...',
value: '...'
}).then(function(customer) {
// do something
}, function(err) {
// Deal with an error
});
The auth for requests to use.
This must be set either via option or setter method.
The host for requests to use.
This must be set either via option or setter method.
The port for requests to use. Default: 443
The time in ms to wait for requests before timing out. Default: 120000ms (2 minutes)
Sets the internal auth property.
Sets the internal host/port properties.
Sets the internal port property.
Sets the internal timeout property.
The resources that are currently supported by this library. Please submit PR if your need others.
Structured after the stripe package.
FAQs
Shopify API SDK for node.
The npm package shopify-api receives a total of 29 weekly downloads. As such, shopify-api popularity was classified as not popular.
We found that shopify-api 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
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.

Research
/Security News
A malicious Chrome extension steals newly created MEXC API keys, exfiltrates them to Telegram, and enables full account takeover with trading and withdrawal rights.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.