sindresorhus / mimic-function
Make a function mimic another one
☆93Updated 2 months ago
Alternatives and similar repositories for mimic-function:
Users that are interested in mimic-function are comparing it to the libraries listed below
- Check if your package was installed globally☆70Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Detect whether a terminal emulator supports hyperlinks☆55Updated 4 months ago
- Get the current package's binary path☆36Updated this week
- Get the path of the caller module☆64Updated 3 years ago
- Import a globally installed module☆57Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆68Updated 3 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- A better `Promise.race()`☆46Updated 2 years ago
- Get the real path of the system temp directory☆83Updated 2 years ago
- Nested/recursive `.gitignore`/`.npmignore` parsing and filtering.☆59Updated 3 months ago
- Node.js releases data☆36Updated last week
- Lazy number range generator☆82Updated last year
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Check if a string matches the name of a Node.js builtin module☆58Updated 8 months ago
- Get the path of the parent module☆77Updated last year
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 3 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- A Map implementation with expirable items☆92Updated 2 years ago
- Regular expression for matching reserved filename characters☆50Updated 2 years ago
- Filter object keys and values into a new object☆101Updated 7 months ago
- Strip the final newline character from a string/buffer☆36Updated 2 months ago
- Glob to regular expression with support for extended globs.☆71Updated 4 months ago
- Missing inspector for npm packages.☆56Updated last year
- Check if the process is running with elevated privileges☆40Updated 3 years ago
- programmatic API for the shiny new npm search endpoint☆25Updated 2 years ago
- Check if something is a promise☆46Updated 3 years ago
- Stylelint shareable config for XO☆41Updated 7 months ago