@fern-api/toast
TypeScript icon, indicating that this package has built-in type declarations

0.0.12 • Public • Published

Toast Node Library

npm shield

This Node.js library provides access to the Toast API from JavaScript/TypeScript.

Usage

Try it out

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)
}

Readme

Keywords

none

Package Sidebar

Install

npm i @fern-api/toast

Weekly Downloads

3

Version

0.0.12

License

none

Unpacked Size

1.39 MB

Total Files

1504

Last publish

Collaborators

  • dsinghvi77
  • dsheridan