Skip to content
Agents tracked: 440 Downloads (7d): 202M down 19.5% GitHub stars: 10.4M Releases (7d): 607 Agent status: all upSince last limit reset: Claude 28d · Codex 0d Updated Oct 21, 2026

yaml vs js-yaml

In 4,818 JavaScript/TypeScript projects set up for AI coding agents, yaml is a dependency in 193 (4.0%) and js-yaml in 134 (2.8%): yaml is 1.4× as common. Among repos created in the last 90 days that use a utilities tool, yaml is in 17.2% and js-yaml in 7.8%, against 8.4% and 6.1% of older ones. 12 projects list both, often a sign of a migration or of a monorepo with several apps.

Utilities npm Updated Oct 20, 2026

yaml4.0%
js-yaml2.8%

Share of 4,818 JavaScript/TypeScript projects set up for AI coding agents that list each one as a dependency.

Side by side

yamljs-yaml
Agent projects that use it193134
Rank in utilities#5#6
In new repos with a utilities tool (last 90 days)17.2%7.8%
In older repos with one8.4%6.1%
Downloads, last 7 days133M176M
GitHub stars1,6976,636
Last push to its repoSep 23, 2026Oct 15, 2026
LicenseISCMIT
Funding——
Projects that list both12

Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from npm.

By coding agent

Projects set up forJavaScript/TypeScript reposyamljs-yaml
Claude Code2,5805.9%3.0%
GitHub Copilot2,3393.6%3.0%
Cursor1,9872.7%2.3%
Gemini CLI4168.7%4.3%
OpenAI Codex3997.3%3.8%
OpenCode2954.4%2.4%
OpenClaw22621.7%4.9%
Devin Desktop2283.9%2.2%
Kiro1254.0%0%
Roo-Code905.6%0%

Share of the JavaScript/TypeScript repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.

yaml

JavaScript YAML parser and stringifier with full spec compliance.

Most often used with it:

tsx56.5% of its projects
Vitest65.3% of its projects
TypeScript91.2% of its projects
Model Context Protocol SDK (JavaScript)35.2% of its projects
chalk31.6% of its projects

npm install yaml

js-yaml

Fast YAML parser and serializer for JavaScript with spec compliance.

Most often used with it:

Model Context Protocol SDK (JavaScript)32.8% of its projects
Prettier48.5% of its projects
ESLint60.4% of its projects
Ajv23.9% of its projects
TypeScript72.4% of its projects

npm install js-yaml

More matchups

uuid vs Nanoid (JavaScript)date-fns vs Day.js

How we count

Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.

Still not sure? Ask AgentGid which fits your project →