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

keyv-fs-sync

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keyv-fs-sync

[![Build Status](https://cloud.drone.io/api/badges/Beanow/keyv-fs-sync/status.svg)](https://cloud.drone.io/Beanow/keyv-fs-sync) [![license BlueOak-1.0.0](https://badgen.net/badge/license/BlueOak-1.0.0)](LICENSE.md)

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

Build Status license BlueOak-1.0.0

Keyv FS Sync

A pretty simple filesystem based backend for Keyv.

Status: prototype

Motivation

My use-case was to have a simple, transparent, filesystem based cache for HTTP requests (using got). But as I would be storing binary data, using keyv-file would grow out of hand.

This library uses very simple filesystem operations to implement the Map API. Get = reading a file. Set = writing a file. Delete = deleting a file. etc...

Again for simplicity sake, this uses the node.js synchronous filesystem API. Should this be a bottleneck for you somehow, you probably need something more elaborate than this library anyway. Try Redis instead?

Other work

keyv-fs exists, but seems unmaintained and has a number uneccesary dependencies.

FAQs

Package last updated on 03 Oct 2019

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