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

gt-scaffold-cli

v1.0.9

Published

gt(Gran Turismo ) is a scaffold for initiating new projects from a given template.

Downloads

3

Readme

gt

gt is a scaffold for initiating new projects from a given template.

Template

A template is a sample folder with many files. You could place a template to GitHub, GitLab, Bitbucket or any other code repository, even in your local mechine!

Directory Structure

├── .bin               # commander - 命令行解析
│   └── gt.js           # commander 启动文件
├── dist                # rollup打包后文件
│   ├── db                # db
│   └── index.js          # 打包后文件
├── node_modules        # node 依赖,需要加入 .gitignore
├── src                 # 源码目录
│   ├── commands            # 命令行解析-模版操作
│     ├── add.ts            # 增
│     ├── delete.ts         # 删
│     ├── init.ts           # 初始化
│     └── list.ts           # 列表
│   ├── db              # 数据库
│   ├── img             # 图标 GIF
│   ├── lib             # 工具类
│   └── commands.ts     # 导出 增加 列表 删除 初始化模块
├── .eslintignore.js    # eslint 忽略文件
├── .eslintrc.js        # editorconfig 配置文件
├── .gitignore          # git 忽略文件
├── .npmignore          # npn 忽略文件
├── doc-cli             # cli 相关技术文档
├── package-lock.json   # node 配置文件锁
├── package.json        # node 配置文件
├── README.md           # 说明文档
└── rollup.config.js    # rollup 打包配置文件

Address

  npmjs.com: 
    `https://www.npmjs.com/package/gt-scaffold-cli`
  github.com: 
    `https://github.com/GDarker0311/gt-scaffold-cli`

Usage

Install gt globaly.

install:
`npm install gt-scaffold-cli -g`

login:
`npm adduser`

publish
`npm publish --access public`

Check the --help command.

gt --help
Usage: gt <command>

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

Commands:
  add|a          Add a new template
  list|l         List all templates
  delete|d       Delete a template
  init|i         Generate a new project

architecture

  • Img

Just follow the FAQs and you will know how to use it.

  • Add a template

  • List all templates

  • Delete a template

  • Init a new project

License

MIT