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

kxcli

v0.3.6

Published

自动创建项目模块的脚手架工具

Downloads

15

Readme

脚手架工具kxcli

kxcli是自动创建项目模块的脚手架工具,目前是基于管理端的项目结构去解析创建。

安装

kxcli安装方法有两种,一种是在全局安装kxcli

npm install kxcli -g

另一种是借助于xg,目前kxcli已经通过插件的形式集成至xg中,只需要安装xg-command-kxcli插件1.1.6以上版本即可。

已安装xg的可以直接升级到最新版即可。

使用方法

1.进入到项目根目录下

2.kxcli通过-m参数可以创建模块,包括对应的html,Controller,Service等文件,路由文件也会同时进行修改。

xg kxcli -m 一级模块名/二级模块名

例如想在订单管理下新增一个订单回收站二级模块,可以通过以下命令完成。

xg kxcli -m oms/recycleBin

然后就可以直接进行业务功能的编写了。

或者使用全局安装的kxcli,传递一二级模块名

kxcli -m 一级模块名/二级模块名