{"_id":"parse-srcset","_rev":"306719","name":"parse-srcset","description":"A spec-conformant JavaScript parser for the HTML5 srcset attribute","dist-tags":{"latest":"1.0.2"},"maintainers":[{"name":"albell","email":"alex@bellandwhistle.net"}],"time":{"modified":"2021-06-03T19:33:52.000Z","created":"2016-12-10T23:02:06.015Z","1.0.2":"2016-12-10T23:26:35.483Z","1.0.1":"2016-12-10T23:16:42.942Z","1.0.0":"2016-12-10T23:02:06.015Z"},"users":{"eugef":true},"author":{"name":"Alex Bell","email":"alex@bellandwhistle.net"},"repository":{"type":"git","url":"git+https://github.com/albell/parse-srcset.git"},"versions":{"1.0.2":{"name":"parse-srcset","version":"1.0.2","description":"A spec-conformant JavaScript parser for the HTML5 srcset attribute","main":"src/parse-srcset.js","directories":{"test":"tests"},"scripts":{"test":"intern-client config=tests/intern"},"repository":{"type":"git","url":"git+https://github.com/albell/parse-srcset.git"},"author":{"name":"Alex Bell","email":"alex@bellandwhistle.net"},"license":"MIT","bugs":{"url":"https://github.com/albell/parse-srcset/issues"},"homepage":"https://github.com/albell/parse-srcset#readme","devDependencies":{"intern-geezer":"^2.2.3"},"gitHead":"03104fe7a2cdfd898e3717fef402fce528740370","_id":"parse-srcset@1.0.2","_shasum":"f2bd221f6cc970a938d88556abc589caaaa2bde1","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"albell","email":"alex@bellandwhistle.net"},"dist":{"shasum":"f2bd221f6cc970a938d88556abc589caaaa2bde1","size":37530,"noattachment":false,"key":"/parse-srcset/-/parse-srcset-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/parse-srcset/download/parse-srcset-1.0.2.tgz"},"maintainers":[{"name":"albell","email":"alex@bellandwhistle.net"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/parse-srcset-1.0.2.tgz_1481412395253_0.4229605298023671"},"publish_time":1481412395483,"_cnpm_publish_time":1481412395483,"_hasShrinkwrap":false},"1.0.1":{"name":"parse-srcset","version":"1.0.1","description":"A javascript parser for the HTML5 srcset attribute","main":"src/parse-srcset.js","directories":{"test":"tests"},"scripts":{"test":"intern-client config=tests/intern"},"repository":{"type":"git","url":"git+https://github.com/albell/parse-srcset.git"},"author":{"name":"Alex Bell","email":"alex@bellandwhistle.net"},"license":"MIT","bugs":{"url":"https://github.com/albell/parse-srcset/issues"},"homepage":"https://github.com/albell/parse-srcset#readme","devDependencies":{"intern-geezer":"^2.2.3"},"gitHead":"d39290d2f6f8acfe2485710446317425d3ee9cf8","_id":"parse-srcset@1.0.1","_shasum":"6e41d67613a4b85f45b1ffb93318355c381a3eb8","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"albell","email":"alex@bellandwhistle.net"},"dist":{"shasum":"6e41d67613a4b85f45b1ffb93318355c381a3eb8","size":37518,"noattachment":false,"key":"/parse-srcset/-/parse-srcset-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/parse-srcset/download/parse-srcset-1.0.1.tgz"},"maintainers":[{"name":"albell","email":"alex@bellandwhistle.net"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/parse-srcset-1.0.1.tgz_1481411800819_0.3397965452168137"},"publish_time":1481411802942,"_cnpm_publish_time":1481411802942,"_hasShrinkwrap":false},"1.0.0":{"name":"parse-srcset","version":"1.0.0","description":"A javascript parser for the HTML5 srcset attribute","main":"src/parse-srcset.js","directories":{"test":"tests"},"scripts":{"test":"intern-client config=tests/intern"},"repository":{"type":"git","url":"git+https://github.com/albell/parse-srcset.git"},"author":{"name":"Alex Bell","email":"alex@bellandwhistle.net"},"license":"MIT","bugs":{"url":"https://github.com/albell/parse-srcset/issues"},"homepage":"https://github.com/albell/parse-srcset#readme","devDependencies":{"intern-geezer":"^2.2.3"},"gitHead":"74649d2db581d7e0a40a57b5ab08e84b1fb690aa","_id":"parse-srcset@1.0.0","_shasum":"771bf2150cc7677b8ccea28e333b093615ee321d","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"albell","email":"alex@bellandwhistle.net"},"dist":{"shasum":"771bf2150cc7677b8ccea28e333b093615ee321d","size":37517,"noattachment":false,"key":"/parse-srcset/-/parse-srcset-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/parse-srcset/download/parse-srcset-1.0.0.tgz"},"maintainers":[{"name":"albell","email":"alex@bellandwhistle.net"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/parse-srcset-1.0.0.tgz_1481410924082_0.6887717179488391"},"publish_time":1481410926015,"_cnpm_publish_time":1481410926015,"_hasShrinkwrap":false}},"readme":"# parse-srcset\n\nA javascript parser for the [HTML5 srcset](http://www.w3.org/TR/html-srcset/) attribute, based on the [WHATWG reference algorithm](https://html.spec.whatwg.org/multipage/embedded-content.html#parse-a-srcset-attribute). It has an extensive test suite based on the [W3C srcset conformance checker](http://w3c-test.org/html/semantics/embedded-content/the-img-element/srcset/parse-a-srcset-attribute.html). It conforms to the jQuery JSCS style rules.\n\nTests are written using Intern-geezer for compatibility.\n\nTo run the tests in console:\n\n```\n$ npm test\n```\n\nOr in a browser, just open the html file at:\n\n```\nnode_modules/intern-geezer/client.html?config=tests/intern\n```\n\nI’m on twitter [@tweetywheaty](https://twitter.com/tweetywheaty).\n","_attachments":{},"homepage":"https://github.com/albell/parse-srcset#readme","bugs":{"url":"https://github.com/albell/parse-srcset/issues"},"license":"MIT"}