@fern-api/toast
v0.0.12
Published
[![npm shield](https://img.shields.io/npm/v/@fern-api/toast)](https://www.npmjs.com/package/@fern-api/toast)
Downloads
7
Readme
Toast Node Library
This Node.js library provides access to the Toast API from JavaScript/TypeScript.
Usage
const toast = new HotschedulesToastClient({
token: "MY_TOKEN",
});
const response = await toast.menus.getAll({
toastRestaurantExternalId: "external-id"
});
for (const menu of response.menus ?? []) {
console.log(menu.name)
console.log(menu.description)
console.log(menu.image)
}