sindresorhus / quick-lru
Simple “Least Recently Used” (LRU) cache
☆677Updated 11 months ago
Related projects ⓘ
Alternatives and complementary repositories for quick-lru
- Get a stream as a string, Buffer, ArrayBuffer or array☆341Updated last week
- Memoize functions - an optimization technique used to speed up consecutive function calls by caching the result of calls with identical i…☆1,086Updated 2 months ago
- Measure the difference between two strings with the fastest JS implementation of the Levenshtein distance algorithm☆715Updated 3 years ago
- Memoize promise-returning & async functions☆396Updated last year
- node byte string parser☆461Updated 4 months ago
- Find a file or directory by walking up parent directories☆582Updated 4 months ago
- Timeout a promise after a specified amount of time☆274Updated 3 weeks ago
- Create a promise that can be canceled☆441Updated 2 years ago
- Run promise-returning & async functions concurrently with optional limited concurrency☆314Updated last year
- Tiny queue data structure☆360Updated 4 months ago
- Clean up error stack traces☆337Updated last year
- Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`☆1,075Updated 3 months ago
- Get the native JavaScript type of a value, fast. Used by superstruct, micromatch and many others!☆350Updated 4 months ago
- Retry a promise-returning or async function☆793Updated 3 weeks ago
- Simple and modern async event emitter☆1,743Updated 8 months ago
- Delay a promise a specified amount of time☆608Updated last year
- Copy files☆425Updated 3 months ago
- Quickly scan for CLI flags and arguments☆625Updated 8 months ago
- Get a random temporary file or directory path☆424Updated last year
- Promisify an event by waiting for it to be emitted☆429Updated 8 months ago
- Super tiny and ~350% faster alternative to node-glob☆855Updated last year
- node.js bindings for RE2: fast, safe alternative to backtracking regular expression engines.☆497Updated 2 months ago
- Tiny JavaScript tokenizer.☆503Updated last month
- Implements the node.js require.resolve() algorithm☆776Updated 2 months ago
- Simple argument parsing☆1,237Updated 3 months ago
- Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.☆1,096Updated 3 months ago
- Find the root directory of a Node.js project or npm package☆235Updated last year
- Blazing fast and accurate glob matcher written JavaScript, with no dependencies and full support for standard and extended Bash glob feat…☆967Updated 3 months ago
- Serialize/deserialize an error into a plain object☆538Updated 2 months ago
- Extremely fast utf8 only stream implementation☆266Updated 2 weeks ago