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

tbspcli

v1.0.3

Published

> 解决2.0中遗漏的问题, 简化工具使用流程解放双手。在2.0版本中往往需要每一个工程都添加npm 脚本并安装2.0的包,能否只安装一次适用于所有工程并且不需要配置npm script呢, 3.0版本采用node cli 形式 通过全局脚手架的形式保证只需要安装一次不需要配置脚本达到适配全部项目的目的。 ## 使用方式: 1. 安装包 `npm i tbspcli -g` 2. 部署包信息 3. 使用

Readme

Tbsp-cli

解决2.0中遗漏的问题, 简化工具使用流程解放双手。在2.0版本中往往需要每一个工程都添加npm 脚本并安装2.0的包,能否只安装一次适用于所有工程并且不需要配置npm script呢, 3.0版本采用node cli 形式 通过全局脚手架的形式保证只需要安装一次不需要配置脚本达到适配全部项目的目的。

使用方式:

  1. 安装包 npm i tbspcli -g
  2. 部署包信息
  3. 使用

关于脚本命令

  1. 获取部署包信息
 tbsp see
 
 空格选中需要打包的系统,按回车复制到剪切板中

 a : 全选
 i : 反选
 space : 选中
 enter : 复制到剪切板中
  1. 修改尾行序列
 tbsp change

 默认从启动脚本的位置读取 deploy/hsiar_see/scripts文件夹
 可以通过 tbsp.config.json scriptPath:"xxx" 来指定路径
 也可以通过 tbsp change -i "xxx" 来指定路径
 优先级为  脚本参数 > 配置文件 > 默认路径
  1. 合并sql脚本

将当前目录(shell执行目录)下的所有sql文件合并成一个sql文件, 并复制到剪切板中

 tbsp merge
  1. help

获取帮助文档

 tbsp help
  1. 版本号
 tbsp -v

关于部署包信息配置

  1. 在主包的package.json中添加配置
{
  ...
  "seeInfo":[
    {
     
    }
  ]
  ...
}
  1. 这里数组的每一位都是一个包信息
{
  "seeInfo":[
    {
       "main": true,
       "name": "framelayout",
       "value": "bank/1.0.0/framelayout",
       "tip" : "这里是提示信息"
    },
    {
       "name": "async",
       "value": "bank/${branch}/async",
    }
    ...
  ]
}

关键字说明

| 关键字 | 说明 | | --- | --- | | main | 主包 | | name | 包名称 | | value | 包信息 | | tip | 提示信息 |

注意这里value存在两种写法

  1. 固定包版本信息 如 : bank/1.0.0/framelayout
  2. 动态包版本信息 如 : bank/${branch}/framelayout

这里的branch会以主包的当前分支版本来动态获得子包版本