Vigia

npm · npm:yargs

yargs active

yargs the modern, pirate-themed, successor to optimist.

The latest stable version of yargs is 18.2.0, published on 2026-09-20. Verified by Vigia on 2026-11-12.

Latest stable version18.2.0
Published2026-09-20 22:34:11 UTC
Installnpm install yargs@latest
Requires (engines){"node":"^20.19.0 || ^22.12.0 || >=23"}
Peer dependencies—
Dist-tagsnext: 18.0.0-candidate.7 latest: 18.2.0 browser: 18.0.0-browser.2 next-14: 14.2.1 next-15: 15.5.0-candidate.0 next-16: 16.2.2-candidate.0 next-17: 17.7.3-candidate.0 latest-7: 7.1.2 latest-11: 11.1.1 latest-13: 13.3.2 latest-14: 14.2.3 latest-16: 16.2.2 latest-17: 17.7.3
LicenseMIT
Advisories on latest versionnone known
Last verified2026-11-12 13:46:05 UTC
Sourcesapi.deps.dev, registry.npmjs.org, registry.npmjs.org

Maintenance

Activityactive
Last stable release2026-09-20 22:34:11 UTC · 53 days ago
Stable releases in the last 12 months4
Published versions267

Heuristic based only on release dates; it does not measure issue or security response times.

Version history

VersionPublished
18.2.02026-09-20 22:34:11 UTC
18.1.02026-07-26 04:07:48 UTC
17.7.32026-06-19 02:08:41 UTC
16.2.22026-06-19 01:52:16 UTC
18.0.02025-05-27 14:27:19 UTC
17.7.22023-04-27 19:59:02 UTC
17.7.12023-02-21 15:44:58 UTC
17.7.02023-02-16 16:42:21 UTC
17.6.22022-11-03 16:30:07 UTC
17.6.12022-11-02 16:24:56 UTC
17.6.02022-10-01 01:33:06 UTC
17.5.12022-05-16 02:14:16 UTC
17.5.02022-05-11 22:01:17 UTC
17.4.12022-04-09 23:15:16 UTC
17.4.02022-03-19 16:07:01 UTC
17.3.12021-12-23 22:42:12 UTC
17.3.02021-11-30 19:00:21 UTC
17.2.12021-09-25 21:19:23 UTC
17.2.02021-09-23 01:49:20 UTC
17.1.12021-08-13 21:08:58 UTC

Showing the 20 most recent of 181 versions. JSON

Version compatibility

Newest stable version that declares support for each runtime version (from the requirements published with each version).

RuntimeNewest compatible version
node 1617.7.3
node 1817.7.3
node 2018.2.0
node 2218.2.0
node 2418.2.0

Upgrade guides for this package

Give your AI agent these facts

Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Add to CursorAdd to VS Code★ Star on GitHub

Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests

Frequently asked questions

What is the latest version of yargs?

The latest stable version of yargs is 18.2.0, published on 2026-09-20. Verified by Vigia on 2026-11-12.

How do I install the latest version of yargs?

Run npm install yargs@latest. The latest stable version is 18.2.0 (verified 2026-11-12).

Is yargs deprecated?

No. yargs is not marked as deprecated in the registry.

Which Node.js version does yargs require?

yargs 18.2.0 declares this requirement: {"node":"^20.19.0 || ^22.12.0 || >=23"}.

Does yargs 18.2.0 have known vulnerabilities?

No known advisories affect yargs 18.2.0 according to the data Vigia checks.

Is yargs still maintained?

yargs published 4 stable releases in the last 12 months; the most recent was 53 days ago. Activity: active.

Observed changes

No changes observed yet since Vigia started tracking this package.

Related packages

Badges for your README

Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:

[![version](https://vigia.coredls.cloud/badge/npm/yargs/version.svg)](https://vigia.coredls.cloud/npm/yargs)
[![maintained](https://vigia.coredls.cloud/badge/npm/yargs/maintained.svg)](https://vigia.coredls.cloud/npm/yargs)
[![status](https://vigia.coredls.cloud/badge/npm/yargs/status.svg)](https://vigia.coredls.cloud/npm/yargs)

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/yargs
GET https://vigia.coredls.cloud/v1/packages/npm/yargs/versions/{version}