# lighter-lru-cache

> A lightweight JavaScript LRU cache.

Latest version **1.1.0** (published 2017-01-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install lighter-lru-cache
pnpm add lighter-lru-cache
yarn add lighter-lru-cache
bun add lighter-lru-cache
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2017-01-08 |
| First published | 2016-09-24 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.8.28 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Sam Eubank |
| Maintainers | zerious |
| Keywords | utility, lighter, fast, lightweight, minimal, benchmark, speed, ops |

## Links

- npm: https://www.npmjs.com/package/lighter-lru-cache
- Repository: https://github.com/lighterio/lighter-lru-cache
- Issues: https://github.com/lighterio/lighter-lru-cache/issues
- npm.io page: https://npm.io/package/lighter-lru-cache

## Dependencies (1)

- [lighter-type](https://npm.io/package/lighter-type.md) 2.2.1

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2017-01-08
- 1.0.0 — 2016-09-24

## README

# lighter-lru-cache
[![Chat](https://badges.gitter.im/chat.svg)](//gitter.im/lighterio/public)
[![Version](https://img.shields.io/npm/v/lighter-lru-cache.svg)](//www.npmjs.com/package/lighter-lru-cache)
[![Downloads](https://img.shields.io/npm/dm/lighter-lru-cache.svg)](//www.npmjs.com/package/lighter-lru-cache)
[![Build](https://img.shields.io/travis/lighterio/lighter-lru-cache.svg)](//travis-ci.org/lighterio/lighter-lru-cache)
[![Coverage](https://img.shields.io/coveralls/lighterio/lighter-lru-cache/master.svg)](//coveralls.io/r/lighterio/lighter-lru-cache)
[![Style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](//www.npmjs.com/package/standard)

The `lighter-lru-cache` module is a lightweight LRU cache.


## Installation

From your project directory, install and save as a dependency:
```bash
npm install --save lighter-lru-cache
```


## API

For now, please see the [source](https://github.com/lighterio/lighter-lru-cache/blob/master/lighter-lru-cache.js).


## Examples

For now, please see the [tests](https://github.com/lighterio/lighter-lru-cache/blob/master/test).


## More on lighter-lru-cache...
* [Contributing](//github.com/lighterio/lighter-lru-cache/blob/master/CONTRIBUTING.md)
* [License (ISC)](//github.com/lighterio/lighter-lru-cache/blob/master/LICENSE.md)
* [Change Log](//github.com/lighterio/lighter-lru-cache/blob/master/CHANGELOG.md)
* [Roadmap](//github.com/lighterio/lighter-lru-cache/blob/master/ROADMAP.md)

---
_Source: https://npm.io/package/lighter-lru-cache · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
