How to use the npminstall/lib/utils.getBinaryMirrors function in npminstall

To help you get started, we’ve selected a few npminstall examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github apache / incubator-weex-cli / packages / @weex / core / src / toolbox / installer-tools.ts View on Github external
await co(function*() {
    try {
      binaryMirros = yield utils.getBinaryMirrors(opts.registry)
    } catch (e) {
      debug('getBinaryMirrors Error:', e)
    }
  })

npminstall

Make npm install fast and handy.

MIT
Latest version published 4 months ago

Package Health Score

70 / 100
Full package analysis