Parse and stringify the HTML <img> srcset attribute
☆144Jan 12, 2026Updated last month
Alternatives and similar repositories for srcset
Users that are interested in srcset are comparing it to the libraries listed below
Sorting:
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 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
- Check if a value is a Blob☆24Oct 27, 2023Updated 2 years ago
- Check if a value is a regular expression☆26Oct 31, 2021Updated 4 years ago
- Alphabetically sort an array of strings☆40Apr 9, 2021Updated 4 years ago
- Strip a substring from the start/end of a string☆23Jul 9, 2022Updated 3 years ago
- Boilerplate to kickstart creating Gulp plugins☆75May 2, 2024Updated last year
- Check if a value is a function☆29May 3, 2021Updated 4 years ago
- Trim newlines from the start and/or end of a string☆49Mar 20, 2023Updated 2 years ago
- Parse and stringify file paths with line and column like `unicorn.js14`☆24Nov 22, 2025Updated 3 months ago
- Remove or replace part of a string like Array#splice☆24Apr 15, 2021Updated 4 years ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Turn an object into a string of HTML attributes☆50Mar 30, 2023Updated 2 years ago
- Open the URL from a web shortcut file in the browser☆20Nov 3, 2021Updated 4 years ago
- Get the URL from a web shortcut file☆14Aug 14, 2021Updated 4 years ago
- Open the URL from a web shortcut file☆17Nov 3, 2021Updated 4 years ago
- Regular expression for matching mapcodes☆19Jul 24, 2022Updated 3 years ago
- ES2015 Math.imul() ponyfill☆11Oct 30, 2023Updated 2 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Feb 26, 2022Updated 4 years ago
- A safer `.hasOwnProperty()`☆29Jun 21, 2023Updated 2 years ago
- Get the iTerm2 version☆11Jan 5, 2026Updated last month
- List of platforms supported by Node.js☆12Nov 3, 2021Updated 4 years ago
- Run promise-returning & async functions repeatedly until you end it☆48Feb 2, 2026Updated last month
- Get an array of parent directories including itself☆26Nov 7, 2023Updated 2 years ago
- Simple `setImmediate` shim☆29Sep 13, 2025Updated 5 months ago
- Sort an array of numbers☆18Sep 18, 2025Updated 5 months ago
- Get the maximum permitted length of a path of a Unix domain socket☆14Aug 16, 2021Updated 4 years ago
- Simple PhantomJS bridge☆17Jan 24, 2021Updated 5 years ago
- Get the name of a Windows version from the release number: 5.1.2600 → XP☆47Updated this week
- Check when the DOM has loaded like `DOMContentLoaded`☆111Aug 21, 2024Updated last year
- Check if a process is running☆61Nov 4, 2021Updated 4 years ago
- Wrapper for the Windows `taskkill` command. Ends one or more tasks or processes.☆45Jun 24, 2022Updated 3 years ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Assert a Map has a given key and return the value for it.☆12Nov 20, 2022Updated 3 years ago
- Get the passwd user entry from a username or uid☆30Jul 9, 2022Updated 3 years ago
- Humanize a URL: https://sindresorhus.com → sindresorhus.com☆252Jul 9, 2022Updated 3 years ago
- Manage post relationships like attachments or (ACF Relational fields) which are not covered by the WordPress polylang plugin.☆16May 7, 2018Updated 7 years ago