lib/plugins/resolveVersion.js
function initNPM() {
    if (npmIsReady) return npmIsReady;

    npmIsReady = Promise.nfcall(npm.load, {
        silent: true,
        loglevel: 'silent'
    });

    return npmIsReady;
}
function initNPM() {
    if (npmIsReady) return npmIsReady;

    npmIsReady = Promise.nfcall(npm.load, {
        silent: true,
        loglevel: 'silent'
    });

    return npmIsReady;
}
function initNPM ( ) { if ( npmIsReady ) return npmIsReady ; npmIsReady = Promise . nfcall ( npm . load , { silent : true , loglevel : 'silent' } ) ; return npmIsReady ; }
Initialize and prepare NPM

@return {Promise}
Initialize and prepare NPM