polystore
This JavaScript library provides a widely compatible key-value store interface that connects to many stores, so a single library can make a wide range of stores easily accessible. It lets an API client library accept multiple cache stores without writing the compatibility layer itself, and lets a project use file-based storage for local dev (highly debuggable) and switch to Redis in production via a simple environment variable change.
What it addresses
When building API client libraries or projects with caching, developers repeatedly have to write compatibility layers for multiple cache stores themselves; polystore aims to have a single library handle all of this.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
polystore
This JavaScript library provides a widely compatible key-value store interface that connects to many stores, so a single library can make a wide range of stores easily accessible. It lets an API client library accept multiple cache stores without writing the compatibility layer itself, and lets a project use file-based storage for local dev (highly debuggable) and switch to Redis in production via a simple environment variable change.
Problem: When building API client libraries or projects with caching, developers repeatedly have to write compatibility layers for multiple cache stores themselves; polystore aims to have a single library handle all of this.
Audience: Developers building libraries and projects that need to support multiple cache/key-value stores across local development and production environments.
Posted by @franciscop · Original source ↗
Source text · @franciscop · · Source ↗
I'm working on finishing my JS KV compatibility library polystore [0], the goal is to make a widely compatible library to connect to many stores so that you can have a wide range of stores easily accesible.