
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.
This is a node.js wrapper for the Domino's pizza API's
This work is licenced via the DBAD Public Licence. It is a derivative work from Dominos API.
npm install pizzapi
| argument | type | default | required |
|---|---|---|---|
| address | full or partial address string | null | true |
| callback | function to pass the api result to | null | true |
| type | Delivery, Carryout, all | all | false |
this yields the least accurate information
pizzapi.Util.findNearbyStores(
'63102',
'Delivery',
function(storeData){
console.log(storeData);
}
);
this yields less accurate information but is better than just using the postal code
pizzapi.Util.findNearbyStores(
'St. Louis, MO, 63102',
'Delivery',
function(storeData){
console.log(storeData);
}
);
this yields the best information and sorts stores by actual distance
pizzapi.Util.findNearbyStores(
'700 Clark Ave, St. Louis, MO, 63102',
'Delivery',
function(storeData){
console.log(storeData);
}
);
| argument | type | default | required |
|---|---|---|---|
| storeID | string or int | null | true |
| callback | function to pass the api result to | null | true |
//Get Store Info for Store #4336
Store.getInfo(
4336,
function(storeData){
console.log(storeData);
}
);
| argument | type | default | required |
|---|---|---|---|
| storeID | string or int | null | true |
| callback | function to pass the api result to | null | true |
| lang | language string | en | false |
//Get Menu for Store #4336
Store.getMenu(
4336,
function(storeData){
console.log(storeData);
}
);
| argument | type | default | required |
|---|---|---|---|
| phone | Phone number string or int | null | true |
| callback | function to pass the api result to | null | true |
pizzapi.Track.byPhone(
2024561111,
function(pizzaData){
console.log(pizzaData);
}
);
| argument | type | default | required |
|---|---|---|---|
| orderKey | string or int | null | true |
| storeID | sting or int | null | true |
| callback | function to pass the api result to | null | true |
pizzapi.Track.byId(
123456,
12345,
function(pizzaData){
console.log(pizzaData)
}
);
Three classes exist to get orders started,
| Class | Description |
|---|---|
| dominos.class.Order | creates a basic order object |
| dominos.class.Product | creates a basic product with a quantity of 1 |
| dominos.class.Payment | creates a basic credit card payment object |
var thePresident = new pizzapi.Customer({ firstName: 'Barack', lastName: 'Obama', address: '700 Pennsylvania Avenue, Washington, DC...', email: 'barack@whitehouse.gov' }); var order = new pizzapi.Order({ customer: thePresident, storeID: '4336' });
order.addItem(new pizzapi.Item({ code: '14SCREEN', options: {}, quantity: 1 }));
This step is *Strongly recommended
order.validate(function(result) { console.log("We did it!"); });
order.price(function(result) { console.log("Price!") });
Order placing takes a Stripe token to minimize the amount of work you must do. This also helps to comply with PCI. At least one item must've been added to place an order.
order.place(stripeToken, function(result) { console.log("Order placed!"); })
FAQs
node js API for Domino's pizza
The npm package pizzapi receives a total of 4 weekly downloads. As such, pizzapi popularity was classified as not popular.
We found that pizzapi 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.