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

ishz-cli

v1.0.25

Published

脚手架本质就是一个工具,作用是能够让使用者专注于写代码,它可以让我们只用一个命令就生成一个已经配置好的项目,而不用我们再花时间去配置和安装相关依赖,可以在很大程度上提升我们的开发效率。比如我们常用的`create-vue`和`create-react-app`就是脚手架,很多大厂也都有自己的脚手架。

Downloads

5

Readme

介绍

为什么需要脚手架?

脚手架本质就是一个工具,作用是能够让使用者专注于写代码,它可以让我们只用一个命令就生成一个已经配置好的项目,而不用我们再花时间去配置和安装相关依赖,可以在很大程度上提升我们的开发效率。比如我们常用的create-vuecreate-react-app就是脚手架,很多大厂也都有自己的脚手架。

本脚手架具备功能

  • 选择框架 vue&uniapp
  • vue 框架选择是否引入模块
  • 选择 ESlink
  • 选择 xx

相关依赖

  • commander: 命令行处理工具
  • chalk: 命令行输出美化工具
  • inquirer:命令行交互工具
  • ora:终端 loading 美化工具
  • git-clone:下载项目模版工具
  • figlet:终端生成艺术字
  • fs-extra:用来操作本地目录

talk is cheap, show me the code

发布

1.注册 npm 账号 2.在本地登录并发布

登录刚注册的账号

→ npm login

  • Username:用户名
  • Password:密码
  • Email:注册邮箱
  • Enter one-time password: 邮箱会收到邮件一次性密码

在我们脚手架的根目录下执行发布命令

→ npm publish

注意: 1.警录和发包前一定要先查看 npm 的源,需要修改为 https://registry.npmjs.org/ 2.在发布时包名不能重复,所以可以先在线上搜索下看看有没有存在的包,如果出现 403 错误可能是包名和线上的包重复了,修改 packagejson 中的 name 即可