npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@abloatai/decks

v0.3.0

Published

Build Ablo slide decks from code — a typed resource API.

Readme

@abloatai/decks

Build Ablo slide decks from code — a typed resource API. Each call compiles to the same canonical commit operation the Ablo editor and AI produce, and posts it to the Ablo API with your key. No code sandbox, no server internals — just decks, slides, layers, layouts, themes, and images.

npm i @abloatai/decks
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 } },
      ],
    },
  ],
});

Get a key from your Ablo workspace (Settings → API) and read the full guide at docs.tryablo.com.

What you get

  • Decks & slides — declarative trees or imperative calls; client-minted ids returned synchronously.
  • Layerstext, bullets, numbered, bar, donut, chart, table, image, shape, icon.
  • Styling — fonts, weights, line-height, letter-spacing, highlight, paragraph spacing; fills (solid / gradient / mesh / shader), shadows, effects.
  • Charts & tables — every chart family; full cell + table styling including border width.
  • Layouts & themes — named placeholders with an AI brief (prompt + examples); structured { fonts, colors } themes.
  • Imagesablo.images.upload({ bytes, contentType }) → hosted URL.
  • PowerPoint importablo.decks.importPptx({ bytes }) rebuilds a .pptx as a real, editable Ablo deck (text, shapes, images, tables, live charts, layout & theme).

Every option is a typed, discoverable Zod enum — you never guess a string.

Import a PowerPoint

import { Decks } from '@abloatai/decks';
import { readFileSync } from 'node:fs';

const ablo = new Decks(process.env.ABLO_API_KEY);

const { deckId, slideCount } = await ablo.decks.importPptx({
  bytes: readFileSync('board-update.pptx'),
});

Runs the same converter the Ablo editor uses, so the result matches an editor import of the same file. Returns { deckId, slideCount, layoutId } — live and editable immediately. See the import guide.