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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@ww_nero/skills

v3.0.6

Published

MCP server that returns Python reference snippets and skill guides

Readme

@ww_nero/snippet

MCP 服务器,不直接执行转换,而是根据 type 返回可直接运行的 Python 参考脚本和要点说明。支持四类示例:

  • html_to_png:Playwright 渲染 HTML 后截图
  • pdf_to_png:pdf2image 分页导出位图
  • pptx_to_pdf:LibreOffice 无头模式转 PDF
  • svg_to_pptx:附带 ppt_slide.html 与对应的构建脚本,演示渐变背景、发光文本和贝塞尔曲线

MCP 配置示例

"snippet": {
  "command": "npx",
  "args": ["-y", "@ww_nero/snippet@latest"],
  "env": {},
  "type": "stdio"
}

工具列表中仅包含 convert,调用时传入:

{
  "type": "html_to_png"  // 可选: html_to_png | pdf_to_png | pptx_to_pdf | svg_to_pptx
}

参数说明:

  • type:示例类型,取值仅限 html_to_png / pdf_to_png / pptx_to_pdf / svg_to_pptx

返回内容包括:

  1. 关键要点(参数、注意事项、风格处理建议等)。
  2. 完整的 Python 示例脚本(位于 assets/ 下)。
  3. 如需额外资源(例如 SVG),会同时内联展示并标注路径。

运行脚本所需依赖(如需执行)

pip install playwright pdf2image pillow python-pptx
playwright install

示例脚本默认使用简体中文注释,可直接复制到本地运行或按需修改。