dns-witch.net.eu.org/node_modules/parse-srcset
2025-07-05 18:19:59 +02:00
..
src 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
tests 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
.jscs.json 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
.jshintrc 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
.npmignore 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
LICENSE 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
package.json 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
README.md 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00

parse-srcset

A javascript parser for the HTML5 srcset attribute, based on the WHATWG reference algorithm. It has an extensive test suite based on the W3C srcset conformance checker. It conforms to the jQuery JSCS style rules.

Tests are written using Intern-geezer for compatibility.

To run the tests in console:

$ npm test

Or in a browser, just open the html file at:

node_modules/intern-geezer/client.html?config=tests/intern

Im on twitter @tweetywheaty.