lru-cache

v6.0.0

A cache object that deletes the least-recently-used items.

ISC
Latest version published 5 months ago
    npm install lru-cache
  

Package Health Score

73 / 100
  • Popularity
    Key ecosystem project
  • Maintenance
    Inactive
  • Security
    No known security issues
  • Community
    Active

Popularity

Key ecosystem project
Weekly Downloads (36,142,829)
Dependents
3.44K
GitHub Stars
3.41K
Forks
283
Contributors
20

The npm package lru-cache receives a total of 36,142,829 downloads a week. As such, we scored lru-cache popularity level to be Key ecosystem project.

Based on project statistics from the GitHub repository for the npm package lru-cache, we found that it has been starred 3,411 times, and that 3,443 other projects on the ecosystem are dependent on it.

Downloads are calculated as moving averages for a period of the last 12 months, excluding weekends and known missing data points.

Security

No known security issues

Security and license risk for significant versions

All Versions

Direct Vulnerabilities

3.1.2
3.2.0
4.1.5
5.1.1
6.0.0
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L

Indirect Vulnerabilities

3.1.2
3.2.0
4.1.5
5.1.1
6.0.0
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L

License Risks

3.1.2
3.2.0
4.1.5
5.1.1
6.0.0
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
All security vulnerabilities belong to production dependencies of direct and indirect packages.

Security Policy
No

You can connect your project's repository to Snyk to stay up to date on security alerts and receive automatic fix pull requests.

We found a way for you to contribute to the project! Looks like lru-cache is missing a security policy.

    # Install the Snyk CLI and test your project
npm i snyk && snyk test lru-cache
Fix it in your project with Snyk!

Maintenance

Inactive
Commit Frequency
Open Issues
42
Merged PR
7
Open PR
14
Last Commit
5 months ago

Further analysis of the maintenance status of lru-cache based on released npm versions cadence, the repository activity, and other data points determined that its maintenance is Inactive.

We found that lru-cache demonstrates a positive version release cadence with at least one new version released in the past 12 months.

As a healthy sign for on-going project maintenance, we found that the GitHub repository had at least 1 pull request or issue interacted with by the community.

Community

Active
Readme.md
Yes
Contributing.md
No
Code of Conduct
No
Contributors
20
Funding
No
License
ISC

With more than 10 contributors for the lru-cache repository, this is possibly a sign for a growing and inviting community.

We found a way for you to contribute to the project! Looks like lru-cache is missing a Code of Conduct.


Embed Package Health Score Badge

package health: 73/100 package health 73/100

Package

Node.js Compatibility
>=10

Age
9 years
Dependencies
1 Direct / 1 Total
Versions
5
Install Size
15.6 kB
Dist-tags
2
# of Files
4
Maintainers
1
TS Typings
Yes

We detected a total of 1 direct & transitive dependencies for lru-cache. See the full dependency tree of lru-cache

lru-cache has more than a single and default latest tag published for the npm package. This means, there may be other tags available for this package, such as next to indicate future releases, or stable to indicate stable releases.