Make a function mimic another one
☆96Oct 28, 2024Updated last year
Alternatives and similar repositories for mimic-function
Users that are interested in mimic-function are comparing it to the libraries listed below
Sorting:
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated 3 weeks ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Get the first fulfilled promise that satisfies the provided testing function☆78Feb 3, 2026Updated 3 weeks ago
- Strip the final newline character from a string/buffer☆38Oct 28, 2024Updated last year
- Check if the character represented by a given Unicode code point is fullwidth☆51Aug 31, 2025Updated 6 months ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆63Sep 15, 2025Updated 5 months ago
- Get the PATH environment variable key cross-platform☆46Sep 12, 2025Updated 5 months ago
- Map `visit` over an array of objects.☆17Jun 27, 2022Updated 3 years ago
- Get a random key from an object☆18Jul 2, 2024Updated last year
- List of binary file extensions☆89May 4, 2025Updated 9 months ago
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated last year
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- Check if something is a generator function☆24Jul 8, 2022Updated 3 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Dec 16, 2020Updated 5 years ago
- Visit a method over the items in an object, or map visit over the objects in an array. This is an alternative approach to using extend or…☆20Dec 15, 2020Updated 5 years ago
- normalize a ranged value that wraps. ( i.e. angular range [0-360), where 400 === 40 and -20 === 340)☆18Mar 14, 2022Updated 3 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Get the user home directory with fallback to the system temp directory☆30Apr 16, 2021Updated 4 years ago
- Detect the indentation of code☆200Feb 2, 2026Updated 3 weeks ago
- Get the version of a binary in semver format☆42Apr 3, 2024Updated last year
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 4 years ago
- Detect the dominant newline character of a string☆56Sep 23, 2023Updated 2 years ago
- Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Ex…☆23Feb 27, 2017Updated 9 years ago
- Promises of copies of files, directories and symlinks, with concurrency controls and win32 junction fallback.☆19Feb 14, 2022Updated 4 years ago
- node's assert.deepEqual algorithm except for the fact that (NaN === NaN) and (+0 !== -0).☆21Sep 4, 2021Updated 4 years ago
- Call the given method on each value in the given object.☆20Mar 14, 2023Updated 2 years ago
- Repeat a string - fast☆35May 3, 2021Updated 4 years ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆25Oct 25, 2025Updated 4 months ago
- Create an object path (dot notation) from a list or array of strings.☆16Dec 31, 2020Updated 5 years ago
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Dec 30, 2025Updated 2 months ago
- Return true if the file is (or the file path has) a dotfile.☆14May 30, 2017Updated 8 years ago