Vigia

npm · npm:srcset

srcset active

Parse and stringify the HTML `<img>` srcset attribute

The latest stable version of srcset is 5.0.3, published on 2026-01-12. Verified by Vigia on 2026-11-12.

Latest stable version5.0.3
Published2026-01-12 15:58:08 UTC
Installnpm install srcset@latest
Requires (engines){"node":"^12.20.0 || ^14.13.1 || >=16.0.0"}
Peer dependencies—
Dist-tagslatest: 5.0.3
LicenseMIT
Advisories on latest versionnone known
Last verified2026-11-12 12:26:13 UTC
Sourcesapi.deps.dev, registry.npmjs.org, registry.npmjs.org

Maintenance

Activityslowing down
Last stable release2026-01-12 15:58:08 UTC · 304 days ago
Stable releases in the last 12 months1
Published versions12

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

Version history

VersionPublished
5.0.32026-01-12 15:58:08 UTC
5.0.22025-09-16 02:28:11 UTC
5.0.12024-01-29 12:46:18 UTC
5.0.02021-11-21 12:53:36 UTC
4.0.02021-05-14 10:42:19 UTC
3.0.12021-04-19 18:50:14 UTC
3.0.02020-07-12 13:51:51 UTC
2.0.12019-11-21 09:43:51 UTC
2.0.02019-04-28 04:36:02 UTC
1.0.02015-05-20 21:11:47 UTC
0.1.12014-04-30 22:50:37 UTC
0.1.02013-08-22 00:02:57 UTC

Showing the 12 most recent of 12 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 165.0.3
node 185.0.3
node 205.0.3
node 225.0.3
node 245.0.3

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 srcset?

The latest stable version of srcset is 5.0.3, published on 2026-01-12. Verified by Vigia on 2026-11-12.

How do I install the latest version of srcset?

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

Is srcset deprecated?

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

Which Node.js version does srcset require?

srcset 5.0.3 declares this requirement: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"}.

Does srcset 5.0.3 have known vulnerabilities?

No known advisories affect srcset 5.0.3 according to the data Vigia checks.

Is srcset still maintained?

srcset published 1 stable releases in the last 12 months; the most recent was 304 days ago. Activity: slowing down.

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/srcset/version.svg)](https://vigia.coredls.cloud/npm/srcset)
[![maintained](https://vigia.coredls.cloud/badge/npm/srcset/maintained.svg)](https://vigia.coredls.cloud/npm/srcset)
[![status](https://vigia.coredls.cloud/badge/npm/srcset/status.svg)](https://vigia.coredls.cloud/npm/srcset)

For agents

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