sindresorhus / bind-methodsLinks
Bind all methods in an object to itself or a specified context
☆58Updated 4 years ago
Alternatives and similar repositories for bind-methods
Users that are interested in bind-methods are comparing it to the libraries listed below
Sorting:
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Display an error in a GUI dialog☆22Updated 4 years ago
- Check if an Array is sorted☆34Updated 4 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆46Updated 4 years ago
- Create an array with values that are present in the first input array but not additional ones☆40Updated 4 years ago
- Returns an array filled with the specified input☆43Updated 3 years ago
- Returns a promise resolved in the next event loop - think `setImmediate()`☆71Updated 4 years ago
- Clear the terminal cross-platform☆44Updated 4 years ago
- Truncate a URL to a specific length☆61Updated last month
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Pretty time zone: +2 or -9:30☆57Updated 3 years ago
- Check if a file is executable☆29Updated 7 years ago
- Rename a function☆47Updated last year
- Check if a value is a function☆28Updated 4 years ago
- Get the shortest leading whitespace from lines in a string☆19Updated 5 years ago
- Mimic a Node.js HTTP response stream☆60Updated last year
- Check if an Iterable is empty☆22Updated last month
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Microservice for Imagemin☆60Updated 4 years ago
- Find multiple RegExp matches in a string☆90Updated 3 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Updated 4 years ago
- Get the version numbers of a package from the npm registry☆30Updated last year
- Snippets for AVA☆39Updated 7 years ago
- Measure the time a promise takes to resolve☆71Updated last year
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆36Updated last year
- Conditional promise chains☆63Updated 4 years ago
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆57Updated last year
- Prints the current date and time as a UNIX timestamp or custom format☆47Updated 4 years ago
- Create an array without duplicates☆73Updated 4 years ago
- Reliably get the terminal window size - cross-platform☆26Updated last year