sindresorhus / mimic-function
Make a function mimic another one
☆94Updated 4 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
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Detect whether a terminal emulator supports hyperlinks☆55Updated last month
- Get the directory of globally installed packages and binaries☆75Updated last year
- Check if a string matches the name of a Node.js builtin module☆59Updated 3 weeks ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Linkify GitHub issue references☆46Updated 5 months ago
- Filter object keys and values into a new object☆101Updated 9 months ago
- Lazy number range generator☆81Updated last year
- Get the current package's binary path☆36Updated last week
- Import a globally installed module☆58Updated last year
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Stylelint shareable config for XO☆41Updated 9 months ago
- Nested/recursive `.gitignore`/`.npmignore` parsing and filtering.☆61Updated 5 months ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Break out of a promise chain☆23Updated 3 years ago
- Write a package.json file☆88Updated 7 months ago
- Gracefully restore the CLI cursor on exit☆38Updated 7 months ago
- Provide a package name, get a list of every version, and who published it.☆24Updated 9 months ago
- Node.js releases data☆36Updated last week
- Get the path of the parent module☆77Updated last year
- Strip the final newline character from a string/buffer☆36Updated 4 months ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Tests whether one path is inside another path☆41Updated 5 years ago
- Regular expression for matching reserved filename characters☆50Updated 2 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆68Updated 3 years ago