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

ching

v0.0.2

Published

A command set help yto take care of your GitHub/NPM accounts

Downloads

14

Readme

ching

A command set help yto take care of your GitHub/NPM accounts

total downloads of ching ching's License latest version of ching

It is really tedious to initialise an NPM package step by step. You have to:

  1. Create a repository on GitHub.com;
  2. Create a local copy by cloning (or git remote add ...);
  3. Initialise as an NPM package via npm init;
  4. Input "git repository" info by hand;
  5. Input same "author" info again and again (unless you are used to change identities when developping different packages);
  6. Scarffold README.md, CHANGELOG.md to make your package seem formal;
  7. Scarffold unit test framework;
  8. ...

Now, ching will help you to complete all previous tasks IN A FEW SECONDS!

Table of contents

Links

Get Started

Up to now, ching is a just a set of commands without any APIs exposed.

Before starting, please get the following ready:

  • You should have registered on npmjs.com.
  • You should have registered on GitHub, and have created a personal access token with "repo" scope actived.

On running, you may be asked for following informations about your GitHub/NPM accounts:

  • your GitHub personal access token *
  • your e-mail address
  • your name
  • your homepage url

Rest asured that secret information (marked with asterisk) will only saved locally and be used deliberately. Others may be published along with README.md / package.json etc.

# Create an empty directory firstly.
mkdir example && cd example

# Run "ching init" command interactively.
ching init

API

APIs are not available yet.

Commands

ching init

This command interactively leads you to,

  • create remote repository on GitHub.com
  • make current directory initialized to be a Git repository and bound to the remote one
  • create/edit package.json
  • create scaffording for the package

ching github-init

Similiar to ching init, this command will help you to create remote repository on GitHub.com and bound it to local Git repository.

ching github-remove

Remove remote repostiroy on GitHub.com.

ching rename

This command interactively leads you to,

  • delete remote repository on GitHub.com, create a new one and simultaneously re-bound local repository to it
  • change the name of current NPM package

ching reset

This command removes all local-saved information about your GitHub/NPM accounts.

ching whoami

Display owner of NPM / GitHub accounts used by ching.

Examples

Why ching

ching is my name, my favor and my fate.

Honorable Dependents

About

References