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

openteam-postinstall

v1.0.2

Published

Lightweight npm postinstall message and donate etc.

Downloads

256

Readme

Open Team postinstall

npm package downloads-total downloads-month star fork GitHub Last Commit issues Author 博客搭建交流群


欢迎使用和Star支持,如使用过程中碰到问题,可以提出 Issues,我会尽力完善

介绍

    npm install后提示用户消息或捐赠. Prompt user message or donate after npm install.

此插件根据开源插件**opencollective-postinstall**更改调整,加入了一些自定义参数配置.

  • 功能还很少,欢迎各位给我提意见和建议~

效果截图

截图

安装

npm install openteam-postinstall --save
# or
yarn add openteam-postinstall

开始使用

引入该插件

package.json中添加:

{
  "scripts": {
    "postinstall": "node -e \"try{require('openteam-postinstall')}catch(e){}\" || exit 0"
  }
}

插件配置

// 默认配置
"openteam": {
  // 开启调试模式(default: false)
  "debug": false,
  // GitHub地址
  "github": "https://github.com/JoeyBling",
  // 打赏配置
  "donate": {
    // 是否启用(default: true)
    "enable": true,
    // 打赏链接
    "url": "https://zhousiwei.gitee.io/ibooks/about/#%E6%89%93%E8%B5%8F"
  },
  // 其他自定义配置
  "others": {
    // 自定义Banner输出(可以使用${param.*}动态变量进行输出,取值为当前`packages.json`文件配置)(关闭请设置为false或置空)
    "banner": "\n\u001B[96mAlso, the author of ${name} (\u001B[94m${openteam.github}\u001B[96m) is looking for a good job -)\u001B[0m\n"
  }
}

Disabling this message

In some places (e.g. CI) you may want to disable this output. You can do this by setting the environment variable DISABLE_OPENCOLLECTIVE=true.

It will not be shown if npm's log level is set to silent (--silent), warn (--quiet), or error (--loglevel error).

其他项目支持

捐赠

    如果感觉对您有帮助,请作者喝杯咖啡吧,请注明您的名字或者昵称,方便作者感谢o( ̄︶ ̄)o

| 微信 | 支付宝 | | :---: | :---: | | | |

关于我

LICENSE

LICENSE