0.2.1 • Published 9 years ago

@temando/npm-register v0.2.1

Weekly downloads
-
License
-
Repository
-
Last release
9 years ago

NPM Register

Simple CLI tool for getting a token into npm for auth.

Install

$ npm install -g @temando/npm-register

Usage

$ npm-register --help

  Usage: npm-register [options] [token]

  Options:
    -h, --help                 output usage information  
    -V, --version              output the version number  
    -r, --registry <registry>  npm registry the token should work with (default: https://registry.npmjs.org)
    -s, --scope <scope>        scope the token should work against
  
$ npm-unregister --help

  Usage: npm-unregister [options]

  Options:

    -h, --help                 output usage information
    -V, --version              output the version number
    -r, --registry <registry>  npm registry to remove registered tokens
    -s, --scope <scope>        scope to remove

Examples

# With defaults
$ npm-register ${NPM_TOKEN}

# With private scope
$ npm-register ${NPM_TOKEN} -s @hackmeinc

# With scope, and non standard registry
$ npm-register ${NPM_TOKEN} -s @hackmeinc -r https://npm.hackme.inc
0.2.1

9 years ago

0.2.0

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago