UNPKG

heapstash

Version:

HeapStash is a library that allows for easy caching in Node.js, with many advanced features such as TTL, maximum items in memory cache, external cache support, and more.

10 lines (9 loc) 267 B
import Plugin from "./index"; import { MongoClient } from "mongodb"; interface MongoDBPluginSettings { client: MongoClient; db: string; collection: string; } declare const _default: (settings: MongoDBPluginSettings) => Promise<Plugin>; export = _default;