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 🙏

© 2025 – Pkg Stats / Ryan Hefner

scafford-cli

v0.0.1

Published

根据交互答案生成项目模板的脚手架工具

Readme

scrafford-cli

a scaffolding help you to clone repo and download template

install

$ npm install -g  scrafford-cli 

Usage

condition

had Configured the SSH about github/gitlab.

commands

scafford : a parent command , to show help, veriosn and so on
scafford-init : a sub command , to create project 
scafford-list : a sub command , to show tempalte list

> show help:
    $ scafford 
    # or 
    $ scafford --help
    
> show version:
    $ scafford -V
    # or 
    $ scafford --version
    
> show scafford-init help
    $ scafford init --help
    
> show offical template list:
    $ scafford list
    
> create project:
    $ scafford init [template-name] [template-enterprise-name] [repo-name]
              [repo-enterprise-name] [output-directory][isOffline]
    
    # create a new app project with an official template
    $ scafford init -o my-project

    # create a new project straight from a gitlab/github template
    $ scafford init -t username_template/repo_template -o my-project

    # clone a repo from gitlab/github  and copy an official template
    $ scafford init -o my-project -c [gitlab|github]:username/repo -e "cvte"

    # clone a repo from gitlab/github and copy an unofficial template
    $ scafford init -o my-project -c [gitlab|github]:username/repo 
              -t [gitlab|github]:username_template/repo_template

    # clone a repo from gitlab/github and copy template from local template cscaffordhe
    $ ac init -o my-project -c [gitlab|github]:username/repo -e "cvte" --offline

details

> template-name : which template you choose to download , default "chrome-app-cli". 
  if you use an unoffical template,such as "yuchaozhong/test-tempalte",app-cli will 
  find the repo in personal gitlab/github/bitbucket account
  
> template-enterprise-name : where enterprise account is tempalte in , default "cvte", 
  for the "gitlab.gz.cvte.cn".if you use an unoffical template and the template is in 
  the personal account , set it "";
  
> repo-name : which repo you want to clone , you should tell which platform the repo 
  exists in, such as 'gitlab:yuchaozhong/test-app'
  
> repo-enterprise-name : where enterprise account is repo in. if you don not set it, 
  app-cli will find the repo in personal gitlab/github/bitbucket account
  
> output-dirtionary : the output directory, default "."(current dir), which should be a 
  nonexistent or empty directory.
  
> isOffline : you can use local cached templcate by add the option --offline