Skip to content

tkp-archive/temporal-cache-js

Repository files navigation

temporal-cache-js

Time-based cache invalidation

Build Status License npm

Install

From npm

npm install --save temporal-cache

Why?

I needed something that would automagically refresh at 4:00pm when markets close.

Interval Cache

The interval cache expires every time interval since its first use

Expire Cache

The expire cache expires on the time given, in scheduler/cron style.

Development

See CONTRIBUTING.md for guidelines.

License

This software is licensed under the Apache 2.0 license. See the LICENSE and AUTHORS files for details.