nodejs/node-core-utils

Name: node-core-utils

Owner: Node.js Foundation

Description: CLI tools for Node.js Core collaborators

Created: 2017-10-22 12:27:44.0

Updated: 2018-05-20 11:30:36.0

Pushed: 2018-05-14 14:29:12.0

Homepage:

Size: 489

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Node.js Core Utilities

npm Build Status AppVeyor Build Status codecov Known Vulnerabilities

CLI tools for Node.js Core collaborators.

Tools
Usage
Install
install -g node-core-utils

If you would prefer to build from the source, install and link:

clone git@github.com:nodejs/node-core-utils.git
ode-core-utils
install
link
Setting up credentials

Most of the tools need your GitHub credentials to work. You can either

  1. Run any of the tools and you will be asked in a prompt to provide your username and password in order to create a personal access token.
  2. Or, create a personal access token yourself on GitHub, then set them up using an editor.

If you prefer option 2, follow these instructions to create the token.

When creating the token, the following boxes need to be checked:

You can also edit the permission of existing tokens later.

After the token is generated, create an rc file with the following content: (~/.ncurc or $XDG_CONFIG_HOME/ncurc):


sername": "your_github_username",
oken": "token_that_you_created"

Note: you could use ncu-config to configure these variables, but it's not recommended to leave your tokens in your command line history.

Make sure your credentials won't be committed

Put the following entries into ~/.gitignore_global

rc  # node-core-utils configuration file
    # node-core-utils working directory

Mind that.ncu/land could contain your access token since it contains the serialized configurations.

If you ever accidentally commit your access token on GitHub, you can simply revoke that token and use a new one.

Contributing

See CONTRIBUTING.md.

License

MIT. See LICENSE.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.