memoize-one
npmv6.0.0TypeScriptA memoization library which only remembers the latest invocation
Overview
memoize-one is an npm package that a memoization library which only remembers the latest invocation. The latest version is 6.0.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need a memoization library which only remembers the latest invocation and value a focused solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- Large dependency tree (36 direct dependencies) increases install size and audit surface.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of memoize-one.
Dependencies
Dev (36)
Used by
Popular packages that depend on memoize-one.
Alternatives to memoize-one
HTTP response freshness testing
Get paths for storing things like data, config, cache, etc
Really Fast Deep Clone
Module that helps you write generated functions in Node
LRU and FIFO caches for Client or Server
A lightweight cache for file metadata, ideal for processes that work on a specific set of files and only need to reprocess files that have changed since the last run
Reuse objects and functions with style
Frequently installed together
React is a JavaScript library for building user interfaces.
TypeScript definitions for react
React package for working with the DOM.
Color normalization for React Native.
flow typed nullthrows
The semantic version parser used by npm.
babel's modular runtime helpers
Cooperative scheduler for the browser environment.
Base64 encoding/decoding in pure JS
Runtime for Regenerator-compiled generator and async functions.
An implementation of WHATWG AbortController interface.
Official React bindings for Redux
Version history
| Version | Published | License |
|---|---|---|
| 6.0.0latest | 4 years ago | MIT |
| 6.0.0-beta.1 | 4 years ago | MIT |
| 5.2.1 | 5 years ago | MIT |
| 5.2.0 | 5 years ago | MIT |
| 5.1.1 | 7 years ago | MIT |
| 5.1.0 | 7 years ago | MIT |
| 5.1.0-beta.6 | 7 years ago | MIT |
| 5.1.0-beta.5 | 7 years ago | MIT |
| 5.1.0-beta.4 | 7 years ago | MIT |
| 5.1.0-beta.3 | 7 years ago | MIT |
| 5.1.0-beta.2 | 7 years ago | MIT |
| 5.1.0-beta.1 | 7 years ago | MIT |
| 5.0.5 | 7 years ago | MIT |
| 5.0.4 | 7 years ago | MIT |
| 5.0.3 | 7 years ago | MIT |
| 5.0.2 | 7 years ago | MIT |
| 5.0.1 | 7 years ago | MIT |
| 5.0.0 | 7 years ago | MIT |
| 4.1.0 | 7 years ago | MIT |
| 4.0.3 | 7 years ago | MIT |
Maintainers
Frequently asked questions
How do I install memoize-one?
Run `npm install memoize-one` to add memoize-one to your npm project.
What license is memoize-one released under?
memoize-one is distributed under the MIT license.
How popular is memoize-one?
memoize-one has approximately 0 downloads per week and 3 known dependent packages.