pkg-fetch
- Version 3.5.2
- Published
- 238 kB
- 8 dependencies
- MIT license
Install
npm i pkg-fetch
yarn add pkg-fetch
pnpm add pkg-fetch
Overview
Compiles and stores base binaries for pkg
Index
Functions
function getNodeVersion
getNodeVersion: (nodeRange: string) => string;
function need
need: (opts: NeedOptions) => Promise<string>;
function satisfyingNodeVersion
satisfyingNodeVersion: (nodeRange: string) => string;
Namespaces
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)
- @types/fs-extra
- @types/node
- @types/node-fetch
- @types/progress
- @types/semver
- @types/tar-fs
- @types/yargs
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- eslint
- eslint-config-airbnb-base
- eslint-config-prettier
- eslint-import-resolver-typescript
- eslint-plugin-import
- lint-staged
- prettier
- rimraf
- simple-git-hooks
- typescript
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/pkg-fetch
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/pkg-fetch)
- HTML<a href="https://www.jsdocs.io/package/pkg-fetch"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2226 ms. - Missing or incorrect documentation? Open an issue for this package.