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

qiya-cli

v1.0.0

Published

一个可以一键生成前后端项目的脚手架工具 ## 奇犽名字来源 日本著名动漫《全职猎人》中的男二号,出身在巴托奇亚共和国里位于海拔三千多公尺的枯枯戮山上的杀手揍敌客家族。因为特别喜欢这个人物,富坚老贼把他的角色刻画的相当深刻,遇事冷静,对朋友(小杰)简直是真爱啊,另外他的能力也是很强的,所以用了这个名字来作为我的工具名称,希望这个工具能够披荆斩棘,随开随用 ## 安装

Downloads

0

Readme

qiya

一个可以一键生成前后端项目的脚手架工具

奇犽名字来源

日本著名动漫《全职猎人》中的男二号,出身在巴托奇亚共和国里位于海拔三千多公尺的枯枯戮山上的杀手揍敌客家族。因为特别喜欢这个人物,富坚老贼把他的角色刻画的相当深刻,遇事冷静,对朋友(小杰)简直是真爱啊,另外他的能力也是很强的,所以用了这个名字来作为我的工具名称,希望这个工具能够披荆斩棘,随开随用

安装

npm install qiya-cli -g

or

git clone https://github.com/gengchen528/qiya-cli.git
cd qiya-cli && npm install
npm link

使用

打开终端输入 qiya 或者 qiya -h,你会看到如下输出

Usage: qiya <commander>

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

Commands:
add|a          添加一个模版
list|l         模版列表
init|i         生成项目文件
delete|d       删除一个模版

命令说明

add | a

添加自定义模版到templates.json中(git中存在的仓库)

$ qiya add
? 设置你的模版名称: qiya-expressjinqu
? 设置你的模版名称: qiya-express
? Git仓库位置:仓库拥有者/仓库名  例:gengchen528/qiya-cli-express-template gengchen528/qiya-cli
? 所属分支:(默认master) master
┌──────────────────┬───────────────────────────────────────┬────────┐
│ Template Name    │ Owner/Name                            │ Branch │
├──────────────────┼───────────────────────────────────────┼────────┤
│ qiya-express-cli │ gengchen528/qiya-cli-express-template │ master │
├──────────────────┼───────────────────────────────────────┼────────┤
│ qiya-express     │ gengchen528/qiya-cli                  │ master │
└──────────────────┴───────────────────────────────────────┴────────┘
✔ 新的模版已经添加成功!

list | l

查看qiya中已经设置的模版列表

$ qiya list
┌──────────────────┬───────────────────────────────────────┬────────┐
│ Template Name    │ Owner/Name                            │ Branch │
├──────────────────┼───────────────────────────────────────┼────────┤
│ qiya-express-cli │ gengchen528/qiya-cli-express-template │ master │
├──────────────────┼───────────────────────────────────────┼────────┤
│ qiya-express     │ gengchen528/qiya-cli                  │ master │
└──────────────────┴───────────────────────────────────────┴────────┘

init | i

当已经添加模版后,可以使用指定模版,去初始化一个你自己的项目

$ qiya init
? 你要使用的模版名称:(默认:qiya-express-cli) qiya-express-cli
? 你的项目名称: qiya_example
? 你的项目介绍: qiya_example的介绍
? 作者: Leo_chen
? 项目存放的目录:(默认当前目录) ./
⠸ 模版下载中,请稍等...新的项目已经初始化成功!
 新的项目已经初始化成功!

这样一个新的项目就生成成功了,是不是很方便

delete | d

删除一个模版

$ qiya delete
你要删除模版的名称: qiya-express
┌──────────────────┬───────────────────────────────────────┬────────┐
│ Template Name    │ Owner/Name                            │ Branch │
├──────────────────┼───────────────────────────────────────┼────────┤
│ qiya-express-cli │ gengchen528/qiya-cli-express-template │ master │
└──────────────────┴───────────────────────────────────────┴────────┘
✔ 模版已成功删除!

这样一个新的项目就生成成功了,是不是很方便

已添加模版

目前已经添加基于express的纯后端服务模版qiya-express-cli,此模版详情介绍见qiya-cli-express-template,后期将会支持更多开箱即用的模版

License

MIT.