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

dtcreate

v1.2.8

Published

你还为不同项目而下载不同的脚手架而烦恼吗?

Downloads

4

Readme

基本介绍

你还为不同项目而下载不同的脚手架而烦恼吗?

你还为不同项目下载不同的UI框架而困扰吗?

不用担心!我们将一站式为您解决。

无论是vue还是react,不管你用的是element还是vant,只需一行命令,你将拥有一个包含一切的前端脚手架。

git地址: https://github.com/datachina/data-vue-cli.git

安装

npm install dtcreate -g

使用

命令列表

| 命令名称 | 描述 | | -------- | ------------------ | | init | 创建一个脚手架 | | list | 查看当前脚手架列表 | | add | 新增一个脚手架 | | delete | 删除一个脚手架 |

示例

使用脚手架初始化项目

dtcreate init

命令行输入以下命令会将项目创建在当前文件夹

E:\data-vue-cli> dtcreate init  
? 请输入项目名称 demo
? 请选择模板 (Use arrow keys)
> vue-element
  vue-vant
  vue-ant-design-vue
 
√ Downloading...

 下载成功!

 To get started

    cd demo
    npm install

初始化完成后需要进入文件夹然后 npm install 下载依赖

查看当前脚手架列表

dtcreate list

dtcreate会内置三个脚手架

E:\data-vue-cli> dtcreate list
  vue-element
  vue-vant
  vue-ant-design-vue
新增脚手架地址

dtcreate add

E:\data-vue-cli> dtcreate add 
? 请输入模板名称 react
? 请输入模板地址 https://gitlab.com:yanxiaos/myreact#main

新增成功
删除脚手架地址

dtcreate delete

E:\data-vue-cli> dtcreate delete
? 请输入模板名称 react

删除成功

todo:

  • 支持不同UI框架的选择
  • 支持vue3脚手架的创建
  • 支持react脚手架的创建
  • 增加更多脚手架模板
  • 实现依赖动态选择