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

yyds-cli

v1.0.4

Published

简易脚手架工具

Downloads

11

Readme

yyds-cli

简易脚手架工具

实现功能:

  1. 查看版本信息
  2. 查看升级信息
  3. 快速生成页面
  4. 配置与查看模板默认路径

快速安装与使用

npm i -g yyds-cli

查看脚手架版本号

yyds -v
yyds --version

查看脚手架升级信息

yyds upgrade

快速生成页面

目前支持两种模板

  • table
  • report

yyds g <name> 默认生成列表模板,可以带参数-t <模板名>,选择要生成列表文件还是报告文件 如果项目目标目录有重名的文件,则会进行提示,选择是否要覆盖,取消则不会进行写入,选择Overwrite则会覆盖目标目录下的文件,可以在输入命令时带上--force,强行进行覆盖

yyds g index
yyds g index/index
yyds g index/index -t table
yyds g index/index -t report
yyds g index/index -t table --force

支持设置文件生成的默认路径

默认生成list.vue的文件路径为src/renderer/page/manage/desk .js的文件路径为src/renderer/page/manage/desk

report.vue的文件路径为src/renderer/page/manage/report .js的文件路径为src/renderer/models/report

若想修改默认路径,可以通过如下命令

yyds m listvue <路径>
yyds m listjs <路径>
yyds m reportvue <路径>
yyds m reportjs <路径>

修改完之后,如想查看配置信息,则使用一下命令

yyds config