UNPKG

iridium

Version:

A custom lightweight ORM for MongoDB designed for power-users

7 lines (6 loc) 180 B
import Bluebird = require('bluebird'); export interface Cache { set<T>(key: string, value: T): void; get<T>(key: string): Bluebird<T>; clear(key: string): void }