sindresorhus / mimic-functionLinks
Make a function mimic another one
☆95Updated 9 months ago
Alternatives and similar repositories for mimic-function
Users that are interested in mimic-function are comparing it to the libraries listed below
Sorting:
- Detect whether a terminal emulator supports hyperlinks☆55Updated 6 months ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 5 months ago
- Filter object keys and values into a new object☆103Updated last year
- Exit the process when the `esc` key is pressed☆56Updated last year
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- Check if your package was installed globally☆70Updated last year
- Check if your code is running as an npm or yarn script☆65Updated 3 years ago
- Check if stdout or stderr is interactive☆116Updated last year
- Conditional promise chains☆61Updated 4 years ago
- Lazy number range generator☆81Updated last year
- Reduce a list of values using promises into a promise for a value☆70Updated 2 years ago
- Get the path of the parent module☆77Updated last year
- Get the first fulfilled promise that satisfies the provided testing function☆76Updated 6 months ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get your PATH prepended with locally installed binaries☆105Updated 9 months ago
- Detect the dominant newline character of a string☆55Updated last year
- Get the real path of the system temp directory☆81Updated 2 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. Th…☆95Updated 2 years ago
- Get the latest stable semver version from an array of versions☆47Updated 3 years ago
- Glob to regular expression with support for extended globs.☆75Updated 11 months ago
- Check if a value is a plain object☆102Updated last year
- A better `Promise.race()`☆46Updated 2 years ago
- Wait for a specified number of promises to be fulfilled☆36Updated last year
- Get namespaced config from the closest package.json☆120Updated last year
- Filter promises concurrently☆76Updated last year
- Node.js releases data☆36Updated this week
- Displays the execution time for Node.js modules loading by hooking require() calls☆23Updated 3 years ago
- Get the path of the caller module☆65Updated 3 years ago