sindresorhus / stringify-attributesLinks
Turn an object into a string of HTML attributes
☆49Updated 2 years ago
Alternatives and similar repositories for stringify-attributes
Users that are interested in stringify-attributes are comparing it to the libraries listed below
Sorting:
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get metadata on the default editor or a specific editor☆53Updated 2 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Mimic a Node.js HTTP response stream☆59Updated last year
- Linkify GitHub issue references☆47Updated 2 weeks ago
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆55Updated 10 months ago
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆53Updated 2 years ago
- Split a string at one or more indices☆23Updated 4 years ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Check if a string is a scoped npm package name☆24Updated 3 years ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Bind all methods in an object to itself or a specified context☆57Updated 4 years ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆36Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆63Updated 4 years ago
- Split lines into an array of lines☆44Updated last year
- Truncate a URL to a specific length☆61Updated 4 years ago
- Filter object keys and values into a new object☆103Updated last year
- Strip the final newline character from a string/buffer☆36Updated 9 months ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆45Updated 4 years ago
- Check if a value is a function☆27Updated 4 years ago
- Check if an Array is sorted☆34Updated 4 years ago
- Check if a string is a URL☆85Updated 2 years ago
- Check when the DOM has loaded like `DOMContentLoaded`☆110Updated 11 months ago
- Get the version of a binary in semver format☆41Updated last year
- Add XO to your project☆47Updated last year
- Check if a path is a file, directory, or symlink☆78Updated last year