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 🙏

© 2025 – Pkg Stats / Ryan Hefner

create-scripts

v1.0.3

Published

A multi-tool script management utility that supports package.json scripts management for Git, SVN, and NPM.

Readme

create-scripts

快速为您的项目添加常用脚本命令的工具。

简介

create-scripts 是一个用于快速配置项目脚本的命令行工具。它可以帮助您一键添加 Git、SVN 和 NPM 等常用工具的脚本命令到项目的 [package.json] 文件中。

使用方法

通过 npm init 使用(推荐):

npm init scripts

或者通过 npm create 使用:

npm create scripts

或者使用 npx:

npx create-scripts

功能

运行命令后,您将看到一个交互式菜单:

  1. Git 管理

    • 添加 git 脚本:快速提交和推送代码
    • 添加 git:all 脚本:完整的 Git 工作流
  2. SVN 管理

    • 添加 svn 脚本:SVN 提交命令
    • 添加 svn:all 脚本:完整的 SVN 工作流
  3. NPM 发布管理

    • 添加 publish 脚本:包发布命令
    • 添加 prepublishOnly 脚本:发布前的准备工作

脚本说明

Git 相关脚本

  • git: 提示输入提交信息,然后执行 git add .git commitgit push
  • git:all: 与 git 脚本相同功能

SVN 相关脚本

  • svn: 执行 SVN 提交操作
  • svn:all: 执行完整的 SVN 工作流

NPM 相关脚本

  • publish: 发布当前包到 NPM
  • prepublishOnly: 在发布前执行构建操作

跨平台支持

工具会自动检测您的操作系统并生成相应的命令:

  • Windows: 使用 PowerShell 命令
  • macOS/Linux: 使用 bash 命令

要求

  • Node.js >= 12.0.0
  • npm >= 6.0.0
  • 项目根目录中必须包含 [package.json]文件

许可证

MIT