sindresorhus / mimic-functionLinks
Make a function mimic another one
☆95Updated 11 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:
- Check if your package was installed globally☆70Updated last year
- Check if a string matches the name of a Node.js builtin module☆61Updated 7 months ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Filter object keys and values into a new object☆104Updated last year
- Check if stdout or stderr is interactive☆116Updated last year
- Get the first path that exists on disk of multiple paths☆59Updated last week
- Detect whether a terminal emulator supports hyperlinks☆55Updated 7 months ago
- Check if your code is running as an npm or yarn script☆64Updated 2 weeks ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Lazy number range generator☆81Updated last year
- Detect the dominant newline character of a string☆55Updated 2 years ago
- Get the latest stable semver version from an array of versions☆47Updated 3 years ago
- Regular expression for matching issue references☆49Updated last year
- Node.js releases data☆37Updated this week
- Create a lazily evaluated value☆69Updated 4 years ago
- Glob to regular expression with support for extended globs.☆74Updated last year
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Linkify GitHub issue references☆46Updated 2 weeks ago
- Get namespaced config from the closest package.json☆120Updated last year
- Get metadata on the default editor or a specific editor☆53Updated 2 weeks ago
- Get the first fulfilled promise that satisfies the provided testing function☆76Updated 7 months ago
- Conditional promise chains☆62Updated 4 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated last week
- Break out of a promise chain☆23Updated 4 years ago
- Displays the execution time for Node.js modules loading by hooking require() calls☆23Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆105Updated 11 months ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- 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
- Mimic a Node.js HTTP response stream☆59Updated last year