Skip to content

A set of tools to manage localStorage, sessionStorage and more that run on browsers, node and deno. 💾

License

Notifications You must be signed in to change notification settings

FaberVitale/storage-helpers

Repository files navigation

storage-helpers — npm version GitHub license bundle size on npm type-coverage

Description

A set of tools to manage localStorage, sessionStorage and more that run on browsers, node and deno.

Main features

  • runs everywhere browsers, node and deno.

  • tiny, less than 1kB(gzip), and tree-shakable.

  • optional storage key versioning and namespace.

  • optional custom serialization and hydration logic.

  • optional validation of hydrated data.

Project structure

This project is organized as a monorepo, packages are available inside /packages folder.

Packages

Examples

Developing

This monorepo uses pnpm.

  1. Install pnpm.
npm i -g pnpm
  1. Install package dependencies.1
pnpm i

License

MIT

About

A set of tools to manage localStorage, sessionStorage and more that run on browsers, node and deno. 💾

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published