UNPKG

srcset

Version:

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

47 lines (46 loc) 857 B
{ "name": "srcset", "version": "5.0.1", "description": "Parse and stringify the HTML `<img>` srcset attribute", "license": "MIT", "repository": "sindresorhus/srcset", "funding": "https://github.com/sponsors/sindresorhus", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "https://sindresorhus.com" }, "type": "module", "exports": "./index.js", "types": "./index.d.ts", "sideEffects": false, "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "scripts": { "//test": "xo && ava && tsd", "test": "ava && tsd" }, "files": [ "index.js", "index.d.ts" ], "keywords": [ "html", "attribute", "image", "img", "src", "parse", "stringify", "srcset", "responsive", "picture", "element" ], "devDependencies": { "ava": "^3.15.0", "tsd": "^0.19.0", "xo": "^0.46.4" } }