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

lqy166-cli

v1.0.5

Published

#### 介绍 一个小型的脚手架工具demo,一键生成指定名字的目录,目录下生成html、css和js三兄弟,且html自动引入css和js

Readme

lqy166-cli

介绍

一个小型的脚手架工具demo,一键生成指定名字的目录,目录下生成html、css和js三兄弟,且html自动引入css和js

安装教程

  1. 在需要建立目录的地方运行:yarn add lqy166-cli;
  2. 安装完毕后运行:yarn lqy166-cli;
  3. 输入你想要的名字;
  4. 输入完毕后按回车键,便会生成指定名字的目录,目录下自动生成html、css和js。

说明文档

  1. 新建文件 "lqy166-cli";

  2. 进入这个文件根目录下cmd运行 "yarn init",填写几个自己觉得要填的信息,比如作者,描述,版本号等,也可以什么都不填,一路回车完成;

  3. 编辑生成的package.json,添加bin字段,指定此cli的入口文件,这里入口文件直接设置为cli.js;

  4. 根目录下新建cli.js,要注意的是 Node CLI 应用入口文件必须要有文件头 "#!/usr/bin/env node",如果是 Linux 或者 macOS 系统下还需要修改此文件的读写权限为 755;

  5. 编辑cli.js,完成对应逻辑代码;

  6. cmd执行 yarn link,将模块link到全局;

  7. 任意一个其他目录下新建文件夹demo,demo文件夹下cmd运行 "lqy166-cli",cli如能正确运行完成对应的事情,说明开发成功;

  8. gitee上新建一个同名仓库,将本地项目代码同步到仓库上;

  9. 项目根目录下cmd运行 "yarn publish --gistry=https://registry.yarnpkg.com" 发布;

  10. 发布完成后任意一个目录下新建文件夹,根目录下cmd运行 "yarn add lqy166-cli";

  11. 安装完成后运行 "yarn lqy166-cli";

  12. 运行成功,脚手架工具开发完毕。