@toreda/cache
Version:
Time-based object cache in TypeScript.
57 lines (34 loc) • 1.94 kB
Markdown

[](https://github.com/toreda/cache/actions) [](https://sonarcloud.io/dashboard?id=toreda_cache)  [](https://github.com/toreda/cache/issues)
[](https://github.com/toreda/cache/releases/latest)
[](https://github.com/toreda/cache/releases/latest)
[](https://github.com/toreda/cache/blob/master/LICENSE)
# `@toreda/cache`
Simple TTL-based object cache in TypeScript.
# Install
`@toreda/cache` is available as an [NPM package](https://www.npmjs.com/package/@toreda/cache).
**Install with yarn:**
```bash
yarn add @toreda/cache
```
**or Install with NPM:**
```bash
npm install @toreda/cache
```
# Usage
```typescript
```
# Source Code
`@toreda/cache` is an open source package provided under the MIT License. Download, clone, or check the complete project source [here on Github](https://www.npmjs.com/package/@toreda/cache). We welcome bug reports, comments, and pull requests.
# Legal
## License
[MIT](LICENSE) © Toreda, Inc.
## Copyright
Copyright © 2019 - 2022 Toreda, Inc. All Rights Reserved.
# Website
https://www.toreda.com