sindresorhus / quick-lru
Simple “Least Recently Used” (LRU) cache
☆679Updated 11 months ago
Related projects ⓘ
Alternatives and complementary repositories for quick-lru
- Memoize functions - an optimization technique used to speed up consecutive function calls by caching the result of calls with identical i…☆1,090Updated 3 months ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆342Updated 3 weeks ago
- Find a file or directory by walking up parent directories☆582Updated 4 months ago
- Memoize promise-returning & async functions☆396Updated last year
- Create a promise that can be canceled☆441Updated 2 years ago
- Quickly scan for CLI flags and arguments☆625Updated 8 months ago
- Safely and quickly serialize JavaScript objects☆348Updated 7 months ago
- Run promise-returning & async functions concurrently with optional limited concurrency☆316Updated last year
- Timeout a promise after a specified amount of time☆274Updated last month
- Get the native JavaScript type of a value, fast. Used by superstruct, micromatch and many others!☆350Updated 5 months ago
- Tiny queue data structure☆361Updated 4 months ago
- Delay a promise a specified amount of time☆609Updated last year
- Measure the difference between two strings with the fastest JS implementation of the Levenshtein distance algorithm☆715Updated 3 years ago
- Retry a promise-returning or async function☆796Updated last week
- npm's content-addressable cache☆279Updated last month
- Clean up error stack traces☆337Updated last year
- Promisify an event by waiting for it to be emitted☆429Updated 8 months ago
- the mighty option parser used by yargs☆496Updated 3 weeks ago
- node.js bindings for RE2: fast, safe alternative to backtracking regular expression engines.☆502Updated 2 months ago
- Simple micro templating☆362Updated last year
- Get a random temporary file or directory path☆424Updated last year
- Extremely fast utf8 only stream implementation☆266Updated last month
- Blazing fast and accurate glob matcher written JavaScript, with no dependencies and full support for standard and extended Bash glob feat…☆968Updated 3 months ago
- A tiny (394B) utility that converts route patterns into RegExp. Limited alternative to `path-to-regexp` 🙇♂️☆568Updated 11 months ago
- Get the visual width of a string - the number of columns required to display it☆479Updated 4 months ago
- Map over promises concurrently☆1,294Updated 3 months ago
- Smooth (CLI) Operator 🎶☆1,050Updated last month
- Uber-fast unique id generation, for Node.js and the browser☆727Updated 2 months ago
- Copy files☆424Updated 3 months ago
- Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`☆1,079Updated last week