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

chare

v3.2.2

Published

A simple CLI scaffolding for front-end projects.

Downloads

74

Readme

download npm-version license

README: 中文

chare

A simple CLI scaffolding for front-end projects.

Installation

Prerequisites: Node.js (>=6.x) and Git.

$ npm install chare -g

Usage

$ chare init <template-name> <project-name>

You can also relate a remote repo:

chare init <template-name> <project-name> -o remote-repo-url

Example:

$ chare init dwqs/vue-startup my-project

$ chare init waka-templates/vue-webpack2 my-project

Relate a remote repo:

$ chare init vuejs-templates/webpack-simple my-project -o [email protected]:xxx/xxx.git

The above command pulls the template from here or writing custom templates, prompts for some information, and generates the project at ./my-project/.

Command

  • chare or chare -h --- find help info for chare.
  • chare init template-name your-project-name [-o remote-origin] --- init your project with specified template.
  • chare token -u your-github-user-name -p your-personal-token --- set auth token to get a higher rate limit of api requests. Check out the documentation for more details.

Note: Check out the documentation for more details about Basic Authentication.

Templates from github

It's unlikely to make everyone happy with the official templates. You can simply fork an official template and then use it via chare-cli with:

chare init username/repo my-project

Where username/repo is the GitHub repo shorthand for your fork. But the repo need to meet some conditions. See this: here or writing custom templates

Local Templates

Instead of a GitHub repo, you can also use a template on your local file system:

chare init ~/fs/path/to-custom-template my-project

There is a guide or writing custom templates for to writing owner customized template.

Thanks

To metalsmith scaffolder && vue-cli for the head start.