Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 2, 2024 via pnpm
Package summary
Share
1
issue
1
high severity
meta
1
2
licenses
10
ISC
4
MIT
Package created
18 Sep 2012
Version published
8 Jan 2021
Maintainers
1
Total deps
14
Direct deps
8
License
ISC

Issues

1

1 high severity issue

high
via: d@1.0.2 & others
Collapse
Expand

Licenses

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
10 Packages, Including:
d@1.0.2
es5-ext@0.10.64
es6-symbol@3.1.4
es6-weak-map@2.0.3
esniff@2.0.1
ext@1.7.0
memoizee@0.4.15
next-tick@1.1.0
timers-ext@0.1.7
type@2.7.2

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
4 Packages, Including:
es6-iterator@2.0.3
event-emitter@0.3.5
is-promise@2.2.2
lru-queue@0.1.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

8
All Dependencies CSV
β“˜ This is a list of memoizee 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
d1.0.213.88 kBISC
prod
1
es5-ext0.10.64365.2 kBISC
prod
1
es6-weak-map2.0.35.09 kBISC
prod
1
event-emitter0.3.57.41 kBMIT
prod
1
is-promise2.2.21.51 kBMIT
prod
lru-queue0.1.02.68 kBMIT
prod
1
next-tick1.1.03.67 kBISC
prod
timers-ext0.1.75.3 kBISC
prod
1

Visualizations

Frequently Asked Questions

What does memoizee do?

Memoizee is a complete memoize or cache solution for JavaScript. It helps in saving memory or CPU cycles in operations that are repeated. With this tool, you don't need to serialize to work with any type of function arguments and it is compatible with any length of function arguments The package provides support for promises and asynchronous functions, and offers a "Primitive mode" that assures fast performance when arguments are convertible to strings. It also offers a "WeakMap based mode" for garbage collection-friendly configuration, a manual cache clearance or clearance after a specific timeout, and size limitation options for the cache. It also has a range of other capabilities covered by over 500 unit tests.

How do you use memoizee?

To use Memoizee, you first need to install it in your project path. You do this by running the command npm install memoizee in your terminal. Following that, you import it into your JavaScript file with var memoize = require("memoizee");.

Then, you declare your function and pass it to the memoize method. For instance:

var memoize = require("memoizee");
var fn = function(one, two, three) {
	/* ... */
};
memoized = memoize(fn);
memoized("foo", 3, "bar");
memoized("foo", 3, "bar"); // Cache hit

In the above code, the function fn is memoized and it takes three arguments. The memoized function is then invoked with "foo", 3, "bar" as arguments. On the next invocation with the same arguments, memoization is triggered and the result is fetched from the cache.

Where are the memoizee docs?

The Memoizee documentation can be found in the README file on its GitHub repository page. The documentation gives detailed insight into its features, configuration options, and usage examples. Users can learn about different operation modes, customization options, and various other functionalities of this tool from this comprehensive guide.