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

@pptx-editor.dev/core

v0.9.1

Published

Framework-agnostic core for PPTX Editor: PresentationML parse and serialize, the canonical document tree, the property cascade, layout, paint, and the Editor contract the adapters render.

Downloads

22,727

Readme

@pptx-editor.dev/core

The PPTX Editor engine. It reads a .pptx into one document store, resolves PresentationML inheritance (master, layout, and slide), lays out slides without the DOM, paints them as SVG, applies edits as serializable ops, and saves the package.

Install

npm install @pptx-editor.dev/core

Entry points

| Entry | What it holds | | --- | --- | | @pptx-editor.dev/core/editor | createPptxEditor, the editor facade, commands, and the chrome registry | | @pptx-editor.dev/core/store | Bounded OPC read and write, the canonical tree, ops, and the store | | @pptx-editor.dev/core/cascade | Master, layout, and slide inheritance, theme colors and fonts | | @pptx-editor.dev/core/layout | DOM-free geometry and text layout | | @pptx-editor.dev/core/output | SVG paint | | @pptx-editor.dev/core/contracts | Shared types | | @pptx-editor.dev/core/styles/editor.css | Chrome tokens and styles |

Use

import { createPptxEditor } from '@pptx-editor.dev/core/editor';

const editor = createPptxEditor();
await editor.load(bytes);
editor.exec({ type: 'toggleBold' });
const saved = editor.save(); // Uint8Array, or null when no document is open

For a React UI, use @pptx-editor.dev/react.

Fonts

createPptxEditor({ fonts }) takes a FontConfiguration, a fragment, or a FontResolver, with the names and shapes of DOCX Editor's API: loadFonts, createFontSource, customFonts, composeFontConfiguration, defineFontResolver, and deferFonts. editor.setFonts() replaces the host faces in place, and onFontError receives each failure. Without fonts, the editor uses the deck's embedded fonts and the packaged substitutes, and makes no network request. See Fonts.

Bundlers

Vite, webpack, and Turbopack emit the text shaper's harfbuzz.wasm with no configuration. Bun and esbuild do not. With them, serve @pptx-editor.dev/core/harfbuzz.wasm as a static file, and set its URL before you create the first editor:

import { setHarfBuzzWasmUrl } from '@pptx-editor.dev/core/layout';

setHarfBuzzWasmUrl('/static/harfbuzz.wasm');

License

Apache-2.0. See LICENSE. The bundled ECMA-376 preset shape geometry is used under the Ecma copyright notice, not Apache-2.0. Other third-party material keeps its own terms. See THIRD_PARTY_NOTICES.md.