https://github.com/toreda/cache
Simple TTL-based object cache in TypeScript.
https://github.com/toreda/cache
cache toreda typed typescript
Last synced: about 1 month ago
JSON representation
Simple TTL-based object cache in TypeScript.
- Host: GitHub
- URL: https://github.com/toreda/cache
- Owner: toreda
- License: mit
- Created: 2021-11-19T00:19:53.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-08-06T08:47:28.000Z (10 months ago)
- Last Synced: 2025-03-19T22:46:49.886Z (2 months ago)
- Topics: cache, toreda, typed, typescript
- Language: TypeScript
- Size: 520 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README

[](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