Parse and stringify the HTML <img> srcset attribute
☆144Jan 12, 2026Updated 2 months ago
Alternatives and similar repositories for srcset
Users that are interested in srcset are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Convert a Source Map object to a comment☆16Aug 9, 2021Updated 4 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Strip a substring from the start/end of a string☆23Jul 9, 2022Updated 3 years ago
- ES2015 Math.imul() ponyfill☆11Oct 30, 2023Updated 2 years ago
- Alphabetically sort an array of strings☆40Apr 9, 2021Updated 4 years ago
- Turn an object into a string of HTML attributes☆50Mar 30, 2023Updated 2 years ago
- Regular expression for matching mapcodes☆19Jul 24, 2022Updated 3 years ago
- Check if a value is a regular expression☆26Oct 31, 2021Updated 4 years ago
- Check if a value is a Blob☆24Oct 27, 2023Updated 2 years ago
- Check if a value is a function☆29May 3, 2021Updated 4 years ago
- Simple PhantomJS bridge☆17Jan 24, 2021Updated 5 years ago
- Get the maximum permitted length of a path of a Unix domain socket☆14Aug 16, 2021Updated 4 years ago
- Boilerplate to kickstart creating Gulp plugins☆75May 2, 2024Updated last year
- Remove or replace part of a string like Array#splice☆24Apr 15, 2021Updated 4 years ago
- Parse and stringify file paths with line and column like `unicorn.js14`☆24Nov 22, 2025Updated 4 months ago
- Get the URL from a web shortcut file☆14Aug 14, 2021Updated 4 years ago
- Run promise-returning & async functions repeatedly until you end it☆48Feb 2, 2026Updated last month
- Open the URL from a web shortcut file in the browser☆20Nov 3, 2021Updated 4 years ago
- Trim newlines from the start and/or end of a string☆49Mar 20, 2023Updated 3 years ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Open the URL from a web shortcut file☆17Nov 3, 2021Updated 4 years ago
- Get the UTI (Uniform Type Identifier) of a file on macOS☆25Oct 7, 2021Updated 4 years ago
- Get the avatar of a GitHub user☆21Oct 14, 2021Updated 4 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Feb 26, 2022Updated 4 years ago
- List of platforms supported by Node.js☆12Nov 3, 2021Updated 4 years ago
- Get environment variables from the shell☆86Feb 1, 2026Updated last month
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Humanize a URL: https://sindresorhus.com → sindresorhus.com☆252Jul 9, 2022Updated 3 years ago
- Check if a process is running☆61Nov 4, 2021Updated 4 years ago
- tar.xz plugin for decompress☆13Jun 12, 2021Updated 4 years ago
- Count the number of lines in a string☆10Apr 17, 2016Updated 9 years ago
- Wrapper for the Windows `taskkill` command. Ends one or more tasks or processes.☆45Jun 24, 2022Updated 3 years ago
- Find the root directory of a Node.js project or npm package☆27Jun 5, 2025Updated 9 months ago
- Get an array of parent directories including itself☆26Nov 7, 2023Updated 2 years ago
- Check if browser is Internet Explorer☆24Aug 13, 2017Updated 8 years ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated last month
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆37Aug 9, 2021Updated 4 years ago