Socket
Socket
Sign inDemoInstall

ching

Package Overview
Dependencies
8
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ching

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


Version published
Maintainers
2
Created

Readme

Source

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

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

Keywords

FAQs

Last updated on 05 Dec 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc