sindresorhus / mimic-function
Make a function mimic another one
☆91Updated 3 weeks ago
Related projects ⓘ
Alternatives and complementary repositories for mimic-function
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Exit the process when the `esc` key is pressed☆57Updated 11 months ago
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Get the path of the caller module☆64Updated 3 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☆67Updated 3 years ago
- Lazy number range generator☆82Updated 10 months ago
- Detect whether a terminal emulator supports hyperlinks☆54Updated 3 months ago
- Detect the dominant newline character of a string☆55Updated last year
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- An implementation of window.fetch in Node.js using Minipass streams☆54Updated last month
- Get the directory of globally installed packages and binaries☆75Updated last year
- Get the real path of the system temp directory☆82Updated 2 years ago
- Check if a string matches the name of a Node.js builtin module☆58Updated 6 months ago
- Write a package.json file☆89Updated 3 months ago
- Node.js releases data☆36Updated last week
- Strip the final newline character from a string/buffer☆35Updated 3 weeks ago
- Import a globally installed module☆57Updated 10 months ago
- A better `Promise.race()`☆46Updated last year
- Get the current package's binary path☆36Updated this week
- Filter object keys and values into a new object☆100Updated 5 months ago
- A Map implementation with expirable items☆92Updated 2 years ago
- Get the first fulfilled promise that satisfies the provided testing function☆74Updated 2 years ago
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- Nested/recursive `.gitignore`/`.npmignore` parsing and filtering.☆57Updated last month
- Get the path of the parent module☆77Updated last year
- Linkify GitHub issue references☆46Updated last month
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Indent each line in a string☆112Updated 2 years ago