← All projects
Project record1 mention
Originally shared on Hacker News

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.

Last shared For Developers building libraries and projects that need to support multiple cache/key-value stores across local development and production environments.
01 / The problem

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.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. 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.