sindresorhus / mimic-functionLinks
Make a function mimic another one
☆96Updated last year
Alternatives and similar repositories for mimic-function
Users that are interested in mimic-function are comparing it to the libraries listed below
Sorting:
- Check if a string matches the name of a Node.js builtin module☆61Updated 9 months ago
- Detect whether a terminal emulator supports hyperlinks☆55Updated 9 months ago
- Check if your package was installed globally☆69Updated 2 years ago
- Filter object keys and values into a new object☆105Updated last year
- Exit the process when the `esc` key is pressed☆57Updated last year
- Check if stdout or stderr is interactive☆118Updated 2 years ago
- Get the first fulfilled promise that satisfies the provided testing function☆77Updated 9 months ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Check if your code is running as an npm or yarn script☆65Updated 2 months ago
- Create a lazily evaluated value☆69Updated 4 years ago
- Glob to regular expression with support for extended globs.☆74Updated last year
- Displays the execution time for Node.js modules loading by hooking require() calls☆23Updated 4 years ago
- Get your PATH prepended with locally installed binaries☆105Updated last year
- Node.js releases data☆38Updated 2 weeks ago
- A better `Promise.race()`☆50Updated 2 years ago
- Indent each line in a string☆113Updated 3 years ago
- Get namespaced config from the closest package.json☆121Updated 2 years ago
- Get the path of the parent module☆78Updated 2 months ago
- Stylelint shareable config for XO☆40Updated 6 months ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 2 months ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Run promise-returning & async functions in series☆70Updated 4 years ago
- Lazy number range generator☆82Updated last year
- Get the directory of globally installed packages and binaries☆76Updated 2 years ago
- Get the first path that exists on disk of multiple paths☆61Updated 2 months ago
- Filter promises concurrently☆79Updated last year
- Ensures a value is a valid error by making it one if not☆82Updated 2 months ago
- Reduce a list of values using promises into a promise for a value☆73Updated 2 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…☆96Updated 2 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago