• Version 3.5.2
  • Published
  • 238 kB
  • 8 dependencies
  • MIT license


npm i pkg-fetch
yarn add pkg-fetch
pnpm add pkg-fetch


Compiles and stores base binaries for pkg



function getNodeVersion

getNodeVersion: (nodeRange: string) => string;

    function need

    need: (opts: NeedOptions) => Promise<string>;

      function satisfyingNodeVersion

      satisfyingNodeVersion: (nodeRange: string) => string;


        namespace system

        module 'lib-es5/system.d.ts' {}

          variable hostAbi

          const hostAbi: string;

            variable hostArch

            const hostArch: string;

              variable hostPlatform

              const hostPlatform: string;

                variable knownArchs

                const knownArchs: string[];

                  variable knownPlatforms

                  const knownPlatforms: string[];

                    variable targetArchs

                    const targetArchs: string[];

                      function abiToNodeRange

                      abiToNodeRange: (abi: string) => string;

                        function isValidNodeRange

                        isValidNodeRange: (nodeRange: string) => boolean;

                          function toFancyArch

                          toFancyArch: (arch: string) => string;

                            function toFancyPlatform

                            toFancyPlatform: (platform: string) => string;

                              Package Files (2)

                              Dependencies (8)

                              Dev Dependencies (19)

                              Peer Dependencies (0)

                              No peer dependencies.


                              To add a badge like this badgeto your package's README, use the codes available below.

                              You may also use to create a custom badge linking to

                              • Markdown
                              • HTML
                                <a href=""><img src="" alt=""></a>