### Install @abloatai/decks Source: https://github.com/abloatai/decks/blob/main/README.md Install the Ablo decks SDK using npm. ```bash npm i @abloatai/decks ``` -------------------------------- ### Create a Slide Deck Source: https://github.com/abloatai/decks/blob/main/README.md Create a new slide deck with a title and slides containing text and chart layers. Requires an ABLO_API_KEY environment variable. ```typescript import { Decks, text, table, chart } from '@abloatai/decks'; const ablo = new Decks(process.env.ABLO_API_KEY); const deck = await ablo.decks.create({ title: 'Q3 Board Update', slides: [ { title: 'Revenue', layers: [ { type: 'text', text: 'Revenue up 40% YoY', style: 'h1', at: { x: 160, y: 120, w: 1600, h: 160 } }, { type: 'bar', data: [{ label: 'Q1', value: 120 }, { label: 'Q2', value: 168 }], at: { x: 160, y: 340, w: 1600, h: 600 } }, ], }, ], }); ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.