sindresorhus / mimic-functionLinks
Make a function mimic another one
☆94Updated 8 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☆59Updated 4 months ago
- Detect whether a terminal emulator supports hyperlinks☆56Updated 5 months ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Lazy number range generator☆81Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Import a globally installed module☆58Updated last year
- Toggle the CLI cursor☆109Updated 11 months ago
- A better `Promise.race()`☆46Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated 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…☆94Updated 2 years ago
- Get the first fulfilled promise that satisfies the provided testing function☆76Updated 4 months ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Exit the process when the `esc` key is pressed☆56Updated last year
- Node.js releases data☆36Updated last week
- Check if something is a promise☆46Updated 4 years ago
- Check if a value is a plain object☆102Updated last year
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 4 years ago
- Get the real path of the system temp directory☆82Updated 2 years ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Get the path of the parent module☆77Updated last year
- Strip the final newline character from a string/buffer☆36Updated 8 months ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Break out of a promise chain☆23Updated 4 years ago
- Filter object keys and values into a new object☆102Updated last year