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

ths-clis

v2.0.3

Published

主要用于初始化自定义模板项目

Downloads

6

Readme

ths-cli

简介

用来初始化自定义模板的工具,主要针对 gitlab 和 github 项目

安装

外网

// 卸载
$ npm uninstall ths-clis -g
$ npm install ths-clis -g

使用

$ ths start

案例

使用过 nrm 切换 npm 源的同学应该会比较熟悉这个模式,下载这个脚手架后可以先修改默认的仓库地址,命令见下方

//demo1 : 在当前目录下初始化一个vue项目
$ ths start

//demo2 : 在当前目录下新建一个名称为demo2的文件夹,并价vue模板初始化到该目录下
$ ths init vue demo2

//demo3 : 新增/修改仓库地址,都是用add,新的地址会覆盖默认地址
//ps:地址是gitlab的地址栏上面的地址
//例如地址是http://192.168.1.1/group/project
$ ths add react http://192.168.1.1/group/project
$ ths add php   http://192.168.1.1/group/project

//demo4 : 查看当前所有仓库地址
$ ths ls

//demo5 : 更新本地仓库模板
$ ths updateRegistry

License

MIT

Changelog

  • v2.0.3(20211015)

    • 修复了同目录下重名文件夹报错的bug
  • v2.0.1(20211015)

    • 交互式选择Vue3模板
  • v1.2.5(20200701)

    • 修改 gitlab 地址,不是用代理即可使用
  • v1.2.4(20200511)

    • 纯粹发个版本试试
  • v1.2.3(20191011)

    • 增加仓库地址
  • v1.2.2(20190907)

    • add ths updateRegistry 命令,更新本地模板
  • v1.2.1(20190830)

    • modify init 失败.