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

@xiaobaidadada/prebuild

v13.0.1-9

Published

A command line tool for easily making prebuilt binaries for multiple versions of node, electron or node-webkit on a specific platform

Readme

添加功能:

  1. --build 参数: 添加此参数后不在执行项目下的binding.gyp进行构建,而是用开发自己的输入的js文件或者命令来构建,可用于一些需要环境变量的构建的情况。
  2. --upload-files 参数: 和--upload-all参数的区别是该参数是开发者自己指定文件,而不是默认的prebuilds目录,多个文件使用","符号分割。文件都支持 src/**/* 这样的语法。
  3. --upload-files-gz 参数: 和--upload-files作用一样,只不过会把文件一个个压缩成tar.gz。
  4. --set-version 参数: 用于设置特定的版本 "" 可以置空

Add Function:

  1. --build parameter: When this parameter is added, the build process will skip executing the binding.gyp file in the project directory and instead use a custom JavaScript file or command provided by the developer. This is useful for situations that require specific environment variables during the build process.

  2. --upload-files parameter: The difference between this and the --upload-all parameter is that this parameter allows the developer to specify the files to upload, rather than defaulting to the prebuilds directory. Multiple files should be separated by commas.

  3. --upload-files-gz parameter: This functions the same way as the --upload-files parameter, except that it will compress each file into a zip before uploading.