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

lxl-cli

v4.0.3

Published

自己开发的一个简单的脚手架工具,已经上传到npm,可以实现自己上传模板,初始化模板,下载模块.

Downloads

10

Readme

lxl-cli

自己开发的一个简单的脚手架工具,已经上传到npm,可以实现自己上传模板,初始化模板,下载模块.

安装

npm i lxl-cli -g

使用


  Commands:
    lxl-cli-help                         查看所有命令
    lxl-cli-add                          可以上传一个新模板
    lxl-cli-delete                       可以删除一个模板
    lxl-cli-show                         展示所有模板
    lxl-cli-init <模板名> <自定义项目名>   可以将你上传的模板初始化到本地,和vue,react一类的初始化项目的脚手架一样

  Options:

    -h, --help     output usage information
    -V, --version  output the version number

说明

敲击lxl-cli-help 命令可以查看命令帮助。

lxl-cli-add 命令可以上传一个模板,输入回车后会有回话提示,其中上传模板路径指的是你的github项目地址。比如在开发中你觉得有的模板还不错你可以先上传的github,比如你的github项目地址为https://github.com/xxx/xxx,那你的模板路径指的就是xxx/xxx。

lxl-cli-delete 可以删除一个模板。有的模板你添加后觉得不想要了,就可以删除,输入 lxl-cli-delete 命令后回车,会提示你输入想删除的模板名,输入后就可以删除了。

lxl-cli-show 可以查看目前你上传了多少个模板,我默认上传了一个名为 "vue-template" 的模板。

lxl-cli-init <模板名> <自定义项目名> 可以将你上传的模板初始化到本地,和vue,react一类的初始化项目的脚手架一样。模板名就是你上传的模板名称,自定义项目名就是你初始化后本地项目名。例如 lxl-cli-init vue-template myvue 回车后就会在你本地创建一个myvue的项目,项目内容就是vue-template模板内容。

总结

我们平时可以把vue或者react的初始化模板加点料,比如路由,数据请求之类的封装到模板里。然后上传到github之后在通过lxl-cli-add添加到模板列表里,下次就直接lxl-cli-init <模板名> <自定义项目名>就可以得到一个封装后的项目模板了,不用辛苦每次都去封装模板了。