How to use the prebuild-install.download function in prebuild-install

To help you get started, we’ve selected a few prebuild-install 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 elm-tooling / elm-language-server / src / util / rebuilder.ts View on Github external
(accessErr: NodeJS.ErrnoException | null) => {
        if (!accessErr) {
          return res();
        }
        if (accessErr.code !== "ENOENT") {
          return rej(accessErr);
        }

        prebuildInstall.download(url, { pkg, path: pkgRoot }, (err: Error) => {
          err ? rej(err) : res();
        });
      },
    );

prebuild-install

A command line tool to easily install prebuilt binaries for multiple version of node/iojs on a specific platform

MIT
Latest version published 10 months ago

Package Health Score

83 / 100
Full package analysis