# burgee/yargs/v17/yargs

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

Source: https://burgee.interlace.tools/docs/api/yargs/v17/yargs

<!-- Generated by scripts/api-reference.ts from the built dist/*.d.ts. Do not edit; run `npx tsx scripts/api-reference.ts`. -->

`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).

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

## Constants

### default

The default export, declared as `factory`.

```ts
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.
