https://github.com/fabervitale/storage-helpers
A set of tools to manage localStorage, sessionStorage and more that run on browsers, node and deno. 💾
https://github.com/fabervitale/storage-helpers
deno localstorage node npm sessionstorage typescript web
Last synced: 6 months ago
JSON representation
A set of tools to manage localStorage, sessionStorage and more that run on browsers, node and deno. 💾
- Host: GitHub
- URL: https://github.com/fabervitale/storage-helpers
- Owner: FaberVitale
- License: mit
- Created: 2020-12-12T20:02:46.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-10T19:28:05.000Z (about 5 years ago)
- Last Synced: 2025-02-24T02:39:50.665Z (over 1 year ago)
- Topics: deno, localstorage, node, npm, sessionstorage, typescript, web
- Language: TypeScript
- Homepage:
- Size: 1.73 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# storage-helpers —  [](https://github.com/FaberVitale/storage-helpers/blob/main/LICENSE)  [](https://github.com/FaberVitale/storage-helpers)
## 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](/packages) folder.
### Packages
* [storage-helpers](/packages/storage-helpers/README.md)
### Examples
* [validation-with-yup](/examples/validation-with-yup/README.md)
## Developing
This monorepo uses [pnpm](https://pnpm.js.org/en/).
1. Install pnpm.
```bash
npm i -g pnpm
```
2. Install package dependencies.1
```bash
pnpm i
```
## License
[MIT](/License)