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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@peerless_hero/cli

v0.2.4

Published

## 项目概述

Downloads

419

Readme

@peerless_hero/cli

项目概述

这个CLI工具提供了一系列命令来简化开发和部署过程。

功能特性

  • API服务模板生成:通过cli api命令生成API服务模板,帮助开发者快速搭建API服务的基础结构。
  • Changelog文件生成:使用cli changelog命令自动生成Changelog文件,记录项目的版本变更历史。
  • 类型定义文件生成:通过cli type命令生成.d.ts文件,提供代码的类型定义,简化开发编写类型文件的必要。
  • 请求模块生成:利用cli request命令生成请求模块代码,以发布到npm仓库供团队内成员使用。
  • CLI版本显示:执行cli version命令可以显示当前CLI工具的版本信息,方便开发者了解工具的版本情况。

安装指南

要安装@peerless_hero/cli,请运行以下命令:

# npm
npm install -g @peerless_hero/cli
# yarn
yarn global add @peerless_hero/cli
# pnpm
pnpm add -g @peerless_hero/cli

使用指南

生成API服务模板

cli api

生成Changelog文件

cli changelog

生成.d.ts文件

cli type

生成请求模块

cli request

显示CLI版本

cli version

使用说明

本工具更推荐在ci/cd环境中使用。

贡献指南

我们欢迎社区的贡献!如果您想为这个项目做出贡献,请遵循以下步骤:

  • Fork 仓库
  • 创建您的特性分支 (git checkout -b feature/AmazingFeature)
  • 提交您的更改 (git commit -m 'Add some AmazingFeature')
  • 推送到分支 (git push origin feature/AmazingFeature)
  • 打开一个 Pull Request

许可证

MIT License © 2023-PRESENT Peerless Hero