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☆63Updated 11 months ago
- Exit the process when the `esc` key is pressed☆58Updated 2 years ago
- Filter object keys and values into a new object☆105Updated last year
- Lazy number range generator☆83Updated 2 years ago
- Check if your package was installed globally☆71Updated 2 years ago
- Check if your code is running as an npm or yarn script☆65Updated 4 months ago
- Detect whether a terminal emulator supports hyperlinks☆55Updated 11 months ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Node.js releases data☆38Updated this week
- Get namespaced config from the closest package.json☆121Updated 2 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 4 months ago
- Reduce a list of values using promises into a promise for a value☆74Updated 2 years ago
- Create a lazily evaluated value☆69Updated 4 years ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Conditional promise chains☆63Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆62Updated 4 months ago
- A better `Promise.race()`☆51Updated 3 years ago
- Indent each line in a string☆115Updated 3 years ago
- Run promise-returning & async functions in series☆71Updated 4 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Updated 4 years ago
- Import a module like with `require()` but from a given path☆86Updated 3 years ago
- Get the path of the caller module☆67Updated 4 years ago
- Run promise-returning & async functions a specific number of times concurrently☆41Updated 4 years ago
- Check if a value is a plain object☆104Updated last year
- Get the real path of the system temp directory☆85Updated 3 years ago
- Get the first fulfilled promise that satisfies the provided testing function☆77Updated 11 months ago
- Check if stdout or stderr is interactive☆119Updated 2 years ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆56Updated 4 months ago
- Glob to regular expression with support for extended globs.☆75Updated last year