sindresorhus / memoize
Memoize functions - an optimization technique used to speed up consecutive function calls by caching the result of calls with identical input
☆1,086Updated 2 months ago
Related projects ⓘ
Alternatives and complementary repositories for memoize
- Simple and modern async event emitter☆1,743Updated 8 months ago
- Simple “Least Recently Used” (LRU) cache☆677Updated 11 months ago
- Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.☆1,096Updated 3 months ago
- Delay a promise a specified amount of time☆608Updated last year
- Promisify a callback-style function☆1,505Updated 2 years ago
- See node.js errors with less clutter☆1,520Updated 4 months ago
- Memoize promise-returning & async functions☆396Updated last year
- Find a file or directory by walking up parent directories☆582Updated 4 months ago
- Convert bytes to a human readable string: 1337 → 1.34 kB☆1,113Updated last year
- Measure the difference between two strings with the fastest JS implementation of the Levenshtein distance algorithm☆715Updated 3 years ago
- Type check values☆1,681Updated 2 months ago
- Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`☆1,075Updated 3 months ago
- Tiny hashing module that uses the native crypto API in Node.js and the browser☆638Updated 3 months ago
- Map over promises concurrently☆1,289Updated 2 months ago
- Update notifications for your CLI app☆1,763Updated 2 months ago
- User-friendly glob matching☆2,534Updated 4 months ago
- Get the native JavaScript type of a value, fast. Used by superstruct, micromatch and many others!☆350Updated 4 months ago
- Simple argument parsing☆1,237Updated 3 months ago
- Colored symbols for various log levels☆744Updated 2 months ago
- Create boxes in the terminal☆1,538Updated 3 months ago
- Retry a promise-returning or async function☆793Updated 3 weeks ago
- Super tiny and ~350% faster alternative to node-glob☆855Updated last year
- The fastest Node.js library for formatting terminal text with ANSI colors~!☆1,621Updated last year
- Get an available TCP port☆869Updated 7 months ago
- Get, set, or delete a property from a nested object using a dot path☆817Updated 6 months ago
- 🌈Easily set your terminal text color & styles☆1,607Updated 6 months ago
- Complete memoize/cache solution for JavaScript☆1,743Updated 5 months ago
- Make a directory and its parents if needed - Think `mkdir -p`☆474Updated 6 months ago
- Promisify an event by waiting for it to be emitted☆429Updated 8 months ago
- Create a promise that can be canceled☆441Updated 2 years ago