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

giant-tools

v1.0.6

Published

giant scaffold cli

Downloads

51

Readme

cli(脚手架) 工具

安装方式

# global
npm install giant-tools -g

# local
npm install giant-tools -D

帮助说明

giant --help

显示可用的脚手架列表

giant list

项目根目录下执行,根据脚手架初始化项目

# 项目初始化
giant init

创建后台管理框架

# 项目初始化
giant create appName // 会创建appName文件夹
giant create . // 当前目录创建项目

项目根目录下执行,同步公用代码到业务项目,同步公用依赖到业务依赖

# 同步指定公用代码
giant download

业务项目中公用代码指定方式

package.json

...
"framework": {
  "name": "spa-vue-admin",
  "branch": "dev"
}
...

项目根目录下执行,发布项目到资源包

# 发布项目到资源包
giant release master -m 版本描述

业务项目中发布代码指定方式

package.json

...
{
  "scripts": {
    "build:test": "giant-cli-service build --mode st",
    "release:test": "giant release test"
  },
  "release": {
    "address": "[email protected]:tools/release_package.git",
    "dirname": "dist"
  }
}
...

公用代码项目根目录下执行,Clone 业务项目到公用代码项目进行联调开发

# 同步指定业务代码
giant clone

公用代码项目中指定业务代码的方式

settings.json //根目录下

{
  "address": "git@xxdd/xxdd.git",
  "branch": "xx"
}

注意:

不推荐的使用环境

  1. nvm

推荐的使用环境:

  1. windows下: vscode->terminal->bash 或 cmd
  2. mac下: bash
  3. gitbash (giant init 仅选脚手架功能不支持)