sindresorhus / mimic-function
Make a function mimic another one
☆94Updated 5 months ago
Alternatives and similar repositories for mimic-function:
Users that are interested in mimic-function are comparing it to the libraries listed below
- Filter object keys and values into a new object☆101Updated 10 months ago
- 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 the dominant newline character of a string☆55Updated last year
- Lazy number range generator☆81Updated last year
- Write a package.json file☆88Updated 8 months ago
- Detect whether a terminal emulator supports hyperlinks☆55Updated 2 months ago
- Get the path of the caller module☆64Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆59Updated last month
- Import a globally installed module☆58Updated last year
- Break out of a promise chain☆23Updated 4 years ago
- programmatic API for the shiny new npm search endpoint☆25Updated 3 years ago
- Glob to regular expression with support for extended globs.☆72Updated 7 months ago
- Gracefully restore the CLI cursor on exit☆38Updated 8 months ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- A better `Promise.race()`☆46Updated 2 years ago
- Nested/recursive `.gitignore`/`.npmignore` parsing and filtering.☆62Updated this week
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Get the first fulfilled promise that satisfies the provided testing function☆75Updated last month
- An implementation of window.fetch in Node.js using Minipass streams☆56Updated this week
- Conditional promise chains☆60Updated 4 years ago
- Get the current package's binary path☆36Updated 2 weeks ago
- Get tags from a remote git repo. Using only JS. No git binary required.☆49Updated 2 years ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Linkify GitHub issue references☆46Updated 6 months ago
- Reduce a list of values using promises into a promise for a value☆69Updated 2 years ago