srcset

npmv5.0.3

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

License MITpermissive12 versions1 maintainers0 deps
sindresorhus/srcset
59
/ 100
Health
safe to use

[email protected] is safe to use (health: 59/100)

Health breakdown0 – 100
15/25
maintenance
0/20
popularity
25/25
security
15/15
maturity
4/15
community
Vulnerabilities
0
none known

Bundle & TypeScript

📦

Bundle Size

2.3 KBminified
1.1 KB gzipped
0 direct dependencies
🌟

TypeScript

10/10typed
bundled

Health History

Dependency Tree

License Audit

API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/srcset

First published · 2013-08-22T00:02:54.343Z

Last updated · 2026-01-12T15:58:08.796Z