{"_id":"parse-srcset","_rev":"699095","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":"2024-06-26T22:58:19.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","tarball":"http://registry-npm.ywwl.com/parse-srcset/download/parse-srcset-1.0.2.tgz","integrity":"sha512-/2qh0lav6CmI15FzA3i/2Bzk2zCgQhGMkvhOhKNcBVQ1ldgpbfiNTVslmooUmWJcADi1f1kIeynbDRVzNlfR6Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHTy2ldTIrmhDs/t+mgPzKr1eYOvowyNCvvThYNM7WFAIhAIco35h6B9sHMMaAprY+csCZeHdR4vc8bQO8Pp6cCqeO"}],"size":37530,"noattachment":false,"key":"/parse-srcset/-/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},"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","tarball":"http://registry-npm.ywwl.com/parse-srcset/download/parse-srcset-1.0.1.tgz","integrity":"sha512-OXzqCzvgvhZ3WCyViYLb3n8ojVzzuCCYhFhWh64ME/XUGG9Eg8WCeb5ZWWhxpNdZNhDZMLIJs6MFal0uemb21A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCx1sRfUGdPO/UNvsplNfqyXItMKtJ3OAf/6PombSQMWQIgXPX1L5GoapcAQuPp/Lsk+9em+GYgP4ipN/l5ZDgYcpY="}],"size":37518,"noattachment":false,"key":"/parse-srcset/-/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},"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","tarball":"http://registry-npm.ywwl.com/parse-srcset/download/parse-srcset-1.0.0.tgz","integrity":"sha512-FMGndDIqWMIOsf6JDd41WGsb0+oybU685PuG+q8NwxtftCHaug0IsYJetZGDJHB1wrFzGGmpZAtDve4lLKQU1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkfk4/zS2DwqZYfiwmGXjhWQnztMkbKEWug9hytu4pPgIgHR7gBDlsUWlOGzHzy1jVVVGi9fDO8dPiVJeFQsVo+r4="}],"size":37517,"noattachment":false,"key":"/parse-srcset/-/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}},"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"}