Socket
Socket
Sign inDemoInstall

parse-srcset

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    parse-srcset

A spec-conformant JavaScript parser for the HTML5 srcset attribute


Version published
Weekly downloads
1.5M
decreased by-14.97%
Maintainers
1
Install size
123 kB
Created
Weekly downloads
 

Readme

Source

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

I’m on twitter @tweetywheaty.

FAQs

Last updated on 10 Dec 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc