burgee
API reference

burgee/yargs/v17/yargs

Every export of burgee/yargs/v17/yargs, with its signature and doc comment: factory.

burgee/yargs/v17/yargs — yargs 17's yargs/yargs: the factory, never the singleton, with the three statics 17 hangs on it (applyExtends, hideBin, Parser). The form 17's README teaches for CommonJS, require('yargs/yargs')(hideBin(process.argv)), and burgee migrate writes this entry for it (previous-majors R3, R6).

import factory from 'burgee/yargs/v17/yargs';

Constants

default

The default export, declared as factory.

const factory: ((processArgs?: string | readonly string[] | undefined, cwd?: string | undefined, parentRequire?: NodeJS.Require | undefined) => import("./types.js").Argv<{}>) & {
    applyExtends: typeof applyExtends;
    hideBin: typeof hideBin;
    Parser: Parser;
};

module.exports

What require() returns: the default export, factory, under the name Node's require(esm) reads.

On this page