Skip to content

Latest commit

 

History

History
53 lines (27 loc) · 1.44 KB

README.md

File metadata and controls

53 lines (27 loc) · 1.44 KB

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