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

editable-slides-cli

v0.1.0

Published

CLI for creating, previewing, validating, and exporting editable slide decks

Readme

Editable Slides CLI

文章と素材から、ブラウザで編集できるスライド、編集可能なPPTX、PDFを生成するCLIです。

初回準備

npm install --global editable-slides-cli
slide setup
slide doctor

Node.js 24以降が必要です。PDFの本文・フォント検査にはPopplerの pdftotextpdffontsも必要です。

PopplerはOSに合わせて次のいずれかで準備できます。

| OS | コマンド | |---|---| | macOS | brew install poppler | | Ubuntu / Debian | sudo apt install poppler-utils | | Windows / 共通 | mise use -g conda:[email protected] |

導入後にslide doctorを実行し、Node.js、npm、Chromium、Popplerが すべてになっていることを確認してください。Xpdfの同名コマンドには対応しません。

使い方

slide new "資料名"
slide dev "資料名" --open
slide release "資料名"

組み込みテンプレートは中立なdefaultだけです。slide new -t default "資料名"と 明示することもできます。 日本語の資料名はそのままフォルダ名と表示名になり、内部IDは自動で作られます。

URLからテンプレートを追加する

信頼できるHTTPS URLのZIPを、名前を付けて登録します。

slide template add https://example.com/templates/sales.zip --name sales
slide template list
slide new -t sales "営業提案資料"

同じ名前のテンプレートを更新するときは--force、配布元が示すSHA-256と 照合するときは--sha256を指定します。

slide template add https://example.com/templates/sales.zip \
  --name sales \
  --sha256 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef \
  --force

ZIPのルート、またはZIP内の単一フォルダには、template.jsondeck.mdxが 必要です。layout.overrides.jsonassets/data/README.mdも含められます。 template.jsonは次の形式です。

{
  "schemaVersion": 1,
  "id": "sales",
  "name": "営業提案テンプレート",
  "version": "1.0.0",
  "entry": "deck.mdx",
  "theme": "default"
}

独自デザインが必要な場合は、実行コードではないtheme.jsonをZIPへ含め、 template.jsontheme./theme.jsonにします。CLIは登録時にテーマ定義と デッキを検証します。JavaScriptのテーマはURLテンプレートに含められません。

deck.mdxの表紙など、本文へ資料名を入れる位置には __EDITABLE_SLIDES_TITLE__と書いておきます。新規作成時に安全な資料名へ 置き換わります。先頭設定のidtitlethemeは自動で設定されます。

通常はHTTPSだけを使用します。手元の開発サーバーを除くHTTP URLを使う必要が ある場合だけ--allow-httpを明示します。登録したテンプレートはOS標準の データ保存先に置かれ、EDITABLE_SLIDES_DATA_HOMEで保存先を変更できます。

不要になったテンプレートは登録名で削除します。すでに作った資料には影響しません。

slide template remove sales

旧形式の資料はslide migrate <folder>で単一ファイル形式へ移行できます。 元のファイルは削除・変更しません。 Studioの位置調整を元の資料へ反映する場合はslide layout bake <folder>を使います。 ページ・要素IDを変更する場合はslide id rename <folder> --helpを確認してください。

コマンド一覧はslide --help、各コマンドの詳細は slide <command> --helpで確認できます。

初回公開前の候補版は、GitHub Actionsのartifactまたはnpm packで作った .tgzからも試せます。ライセンスはMITです。