Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cachu

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cachu

🦝 Simple, Minimalistic KV Cache

  • 5.4.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

cachu

👀 v6 goes public on August 1st and it'll come with a dashboard for a visual insight into your cachu instance. Of course, the feature will be fully optional.

Simple, minimalistic key-value cache, created by Azury.

  • fully asynchronous
  • small n' easy
  • zero dependencies

Setup

Installation

Install cachu using your favorite package manager.

npm i cachu
yarn add cachu

Usage

Just create a new cache, it's as easy as that!

import { MemoryCache } from 'cachu'

(async () => {
  const cache = MemoryCache()

  // add a new record
  await cache.set('one', 'Hello Github')

  // retrieve the value of a record
  const { value } = await cache.get('one')
})()

Caches

API

Keywords

FAQs

Package last updated on 21 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc