deoxxa / npmrc

Switch between different .npmrc files with ease and grace.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NPM Path Variables

luscus opened this issue · comments

Hello,

the Path Variables in the README seams to be false...

Here your code:

const NPMRC_STORE = process.env.NPM_STORE || path.join(process.env.HOME || process.env.USERPROFILE, '.npmrcs')
    , NPMRC       = process.env.NPMC || path.join(process.env.HOME || process.env.USERPROFILE, '.npmrc')
    , USAGE       = 'Usage: npmrc [-c] [name]'

It seams to be NPM_STORE / NPMC and not NPMRC_STORE / NPMRC...