PATH:
usr
/
local
/
lib
/
node_modules
/
npm
/
lib
/
install
/
action
'use strict' const BB = require('bluebird') const finished = BB.promisify(require('mississippi').finished) const npmConfig = require('../../config/figgy-config.js') const packageId = require('../../utils/package-id.js') const pacote = require('pacote') module.exports = fetch function fetch (staging, pkg, log, next) { log.silly('fetch', packageId(pkg)) const opts = npmConfig({integrity: pkg.package._integrity}) return finished(pacote.tarball.stream(pkg.package._requested, opts)) .then(() => next(), next) }
[-] finalize.js
[edit]
[-] global-link.js
[edit]
[+]
..
[-] unbuild.js
[edit]
[-] refresh-package-json.js
[edit]
[-] postinstall.js
[edit]
[-] global-install.js
[edit]
[-] move.js
[edit]
[-] install.js
[edit]
[-] preinstall.js
[edit]
[-] remove.js
[edit]
[-] build.js
[edit]
[-] extract.js
[edit]
[-] extract-worker.js
[edit]
[-] fetch.js
[edit]
[-] prepare.js
[edit]