Skip to content

The best store.js alternatives

4 tools that do a similar job to store.js, 4 of them open source. Each entry says what it does and who it suits, so you can pick the one that fits instead of the most famous.

You're replacing

store.js

A small JavaScript wrapper that saves values in the browser under one simple get/set API.

  1. 1

    JavaScript Cookie

    Open source · MIT · ★ 22.6k

    A small JavaScript library for reading, writing and deleting browser cookies.

    Best for: Front-end developers who need to store small pieces of data in cookies on a website; Teams that want a tiny, dependency-free cookie helper

  2. 2

    lowdb

    Open source · MIT · ★ 22.6k

    A small JSON-file database you use with plain JavaScript arrays and objects.

    Best for: Node.js developers building small tools or prototypes that need simple persistent storage; Projects where a full database server would be more setup than the job needs

  3. 3

    redux-persist

    Open source · MIT · ★ 12.9k

    Saves a Redux store to storage and restores it when the app starts.

    Best for: Web developers who want Redux state to survive a page reload; React Native developers who need state saved with AsyncStorage

  4. 4

    TOON

    Open source · MIT · ★ 25.6k

    A compact, human-readable way to write JSON data for LLM prompts, with a TypeScript SDK and CLI.

    Best for: Developers who send structured JSON data to LLM prompts and want to reduce token usage; Teams using TypeScript who want an SDK to encode and decode the format

How we pick: tools in the same category that solve the same problem, projects that name each other as alternatives, and open-source projects that describe themselves as an alternative to store.js. We don't take payment for placement.