@nodulus/cache

2.0.3 • Public • Published

@nodulus/cache

NPM

Alt text Alt text

cache component for nodulus.

install

npm install @nodulus/cache

usage


var cache=require("@nodulus/cache");


public get(collection_name: string, array_of_keys:[string] || single_key:string, asObject: boolean)

 let result = await cache.get("my-collection", "12345678", false);
 

public getCollection(collection_name: string, asObject: boolean)

  let result = await cache.get("my-collection", false);
 

/@nodulus/cache/

    Package Sidebar

    Install

    npm i @nodulus/cache

    Weekly Downloads

    30

    Version

    2.0.3

    License

    ISC

    Last publish

    Collaborators

    • nodulus