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

xplat-icons

v1.0.1

Published

Generate cross-platform app and web icon assets from a square PNG.

Readme

xplat-icons

一键生成适用于 Windows、macOS、Linux、Web 和 PWA(渐进式 Web 应用)的图标资源

npm   🇯🇵 🇨🇳 🇺🇸

用法

需要 Bun 1.4 或更高版本。无论使用 npx 还是 bunx 启动,都会使用 Bun。

npx xplat-icons <path/to/source.png> <path/to/output-folder>

输出文件

| 文件 | 图片尺寸 (px) | 主要用途 | 备注 | | --- | --- | --- | --- | | icon.ico | 16, 24, 32, 48, 64, 128, 256 | Windows 应用 / Electron / Tauri | | | icon.icns | 16 ~ 1024 | macOS 应用 / Electron / Tauri | 包含标准与 Retina 尺寸 | | 16x16.png | 16 | Linux 桌面 / Electron | | | 24x24.png | 24 | Linux 桌面 | Windows 补充尺寸 | | 32x32.png | 32 | Linux 桌面 / Electron / Tauri | | | 48x48.png | 48 | Linux 桌面 / Electron | | | 64x64.png | 64 | Linux 桌面 / Electron | | | 128x128.png | 128 | Linux 桌面 / Electron / Tauri | | | [email protected] | 256 / 逻辑尺寸 128 | Tauri / 高密度显示屏 | Tauri 标准 Retina 资源 | | 256x256.png | 256 | Linux 桌面 / Electron | 通用图标 | | icon.png | 512 | Tauri / Linux 桌面 | Tauri CLI 默认生成文件 / 通用图标 | | 512x512.png | 512 | Linux 桌面 / Electron | 通用图标 | | favicon.ico | 16, 32, 48 | Web 网站图标 | 兼容旧版浏览器 | | favicon-16x16.png | 16 | Web 网站图标 | | | favicon-32x32.png | 32 | Web 网站图标 | | | favicon-48x48.png | 48 | Web 网站图标 | | | apple-touch-icon.png | 180 | iOS / iPadOS 主屏幕图标 | | | android-chrome-192x192.png | 192 | Android / PWA | | | android-chrome-512x512.png | 512 | Android / PWA | |