sindresorhus / levenView external linksLinks
Measure the difference between two strings with the fastest JS implementation of the Levenshtein distance algorithm
☆732Sep 11, 2025Updated 5 months ago
Alternatives and similar repositories for leven
Users that are interested in leven are comparing it to the libraries listed below
Sorting:
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated last week
- Get a stream as a string, Buffer, ArrayBuffer or array☆358Oct 28, 2024Updated last year
- Get all property keys of an object including non-enumerable and inherited ones☆110Sep 7, 2021Updated 4 years ago
- Regular expression for matching issue references☆49Sep 26, 2024Updated last year
- Linkify GitHub issue references☆47Sep 11, 2025Updated 5 months ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Create an array with values that are present in the first input array but not additional ones☆40Sep 14, 2021Updated 4 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Make unhandled promise rejections fail loudly instead of the default silent fail☆282Jan 24, 2021Updated 5 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Convert a string to a valid safe filename☆514Nov 5, 2025Updated 3 months ago
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Promisify a callback-style function☆1,514Sep 12, 2022Updated 3 years ago
- Get, set, or delete a property from a nested object using a dot path☆866Oct 5, 2025Updated 4 months ago
- Create an array without duplicates☆74May 3, 2021Updated 4 years ago
- Find multiple RegExp matches in a string☆91Jul 8, 2022Updated 3 years ago
- Process execution for humans☆7,429Jan 29, 2026Updated 2 weeks ago
- Modify the values of an object☆29Sep 10, 2021Updated 4 years ago
- Check if something is a promise☆45Apr 16, 2021Updated 4 years ago
- Make a directory and its parents if needed - Think `mkdir -p`☆477Sep 10, 2025Updated 5 months ago
- Alphabetically sort an array of strings☆40Apr 9, 2021Updated 4 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Feb 2, 2026Updated last week
- Define a lazily evaluated property on an object☆67Mar 19, 2023Updated 2 years ago
- [DEPRECATED] Node.js `os.homedir()` ponyfill☆61Jan 24, 2021Updated 5 years ago
- Check if something is a Node.js stream☆115Oct 28, 2024Updated last year
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Parse and stringify file paths with line and column like `unicorn.js14`☆24Nov 22, 2025Updated 2 months ago
- Truncate a string to a specific width in the terminal☆88Oct 23, 2025Updated 3 months ago
- Simple micro templating☆372Sep 17, 2025Updated 4 months ago
- Create a lazily evaluated value☆69Apr 8, 2021Updated 4 years ago
- Simple “Least Recently Used” (LRU) cache☆752Oct 10, 2025Updated 4 months ago
- Clean up error stack traces☆346Nov 4, 2025Updated 3 months ago
- Check if a value is an object☆42Apr 16, 2021Updated 4 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Jul 8, 2022Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆62Sep 15, 2025Updated 4 months ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated last week
- Get the number of days in a month☆27Oct 18, 2021Updated 4 years ago