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

make-slides

v0.1.0

Published

One command to scaffold a Claude Code presentation workspace with the Frontend Slides skill bundled offline, plus PDF/PPTX export.

Readme

make-slides

Một lệnh để dựng sẵn workspace thuyết trình cho Claude Code — kèm skill Frontend Slides cài offline và công cụ xuất PDF/PPTX.

npx make-slides query-optimization

Lệnh trên tạo thư mục query-optimization/ với đầy đủ cấu trúc, template nội dung, skill Frontend Slides (chạy offline, gọi bằng /frontend-slides), và script export.

Vì sao dùng make-slides?

Thông thường để dùng Frontend Slides bạn phải: cài plugin qua marketplace (cần mạng), tự tạo folder, tự viết template nội dung, và tự viết script xuất PPTX (repo gốc chưa có). make-slides gói tất cả thành một lệnh scaffold offline.

Cách dùng

npx make-slides <tên>          # tạo workspace với tên cho trước (hỏi vài thông tin)
npx make-slides <tên> --yes    # dùng mặc định, không hỏi (16:9, tiếng Việt)
npx make-slides                # chế độ tương tác đầy đủ
npx make-slides <tên> --force  # ghi vào thư mục đã tồn tại

Workspace được tạo

query-optimization/
├── .claude/skills/frontend-slides/   # skill cài sẵn — gọi /frontend-slides (offline)
├── sources/            # bỏ tài liệu gốc PDF/DOCX/XLSX + ảnh vào đây
│   └── images/
├── content/
│   ├── source-summary.md   # template: Claude tóm tắt tài liệu
│   ├── slide-brief.md      # template: cấu trúc từng slide
│   └── references.md
├── presentation/
│   ├── presentation.html   # placeholder — skill sẽ ghi đè
│   └── assets/
├── exports/                # nơi chứa PDF/PPTX
├── scripts/
│   ├── export-pdf.sh       # HTML → PDF (Playwright)
│   └── export-pptx.mjs     # HTML → PPTX (Playwright + PptxGenJS)
├── package.json            # npm run export:pdf / export:pptx
├── CLAUDE.md               # quy trình 6 checkpoint
└── README.md

Sau khi tạo

  1. cd <tên>
  2. Bỏ tài liệu vào sources/
  3. Mở thư mục trong Claude Code
  4. Gọi /frontend-slides và làm theo 6 checkpoint (xem CLAUDE.md)
  5. Xuất file:
    npm install
    npm run export:pdf     # → exports/presentation.pdf
    npm run export:pptx    # → exports/presentation.pptx

Lần đầu export cần tải Chromium (~150MB): npx playwright install chromium.

Ghi công

Skill Frontend Slides được tạo bởi Zara Zhang (MIT) — https://github.com/zarazhangrui/frontend-slides. make-slides chỉ đóng gói lại để dùng offline. Xem THIRD_PARTY_LICENSES.md.

License

MIT