Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/roydukkey/typescript-storage
Typed, common interface for LocalStorage, SessionStorage, Cookies, and Environment variables.
https://github.com/roydukkey/typescript-storage
cookies environment-variables localstorage session-management typescript webstorage
Last synced: 15 days ago
JSON representation
Typed, common interface for LocalStorage, SessionStorage, Cookies, and Environment variables.
- Host: GitHub
- URL: https://github.com/roydukkey/typescript-storage
- Owner: roydukkey
- License: mit
- Created: 2021-08-19T18:20:29.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-30T17:46:43.000Z (over 3 years ago)
- Last Synced: 2025-01-13T16:42:33.551Z (24 days ago)
- Topics: cookies, environment-variables, localstorage, session-management, typescript, webstorage
- Language: TypeScript
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# typescript-storage
This package provides a typed, common interface for multiple different storage domains.
[![Release Version](https://img.shields.io/npm/v/typescript-storage.svg)](https://www.npmjs.com/package/typescript-storage)
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)## Install
```bash
npm install typescript-storage
```## Monorepo
Multiple sub-package are combined and exposed in this omni-package. See each of these packages for their usage and API.
### [typescript-web-storage](https://github.com/roydukkey/typescript-storage/tree/master/packages/typescript-web-storage#readme)
[![Release Version](https://img.shields.io/npm/v/typescript-web-storage.svg)](https://www.npmjs.com/package/typescript-web-storage)
This package provides typed interface for LocalStorage, SessionStorage, and WebStorage.
### [typescript-cookie-storage](https://github.com/roydukkey/typescript-storage/tree/master/packages/typescript-cookie-storage#readme)
[![Release Version](https://img.shields.io/npm/v/typescript-cookie-storage.svg)](https://www.npmjs.com/package/typescript-cookie-storage)
This package provides typed interface for managing cookies.
### [typescript-env](https://github.com/roydukkey/typescript-storage/tree/master/packages/typescript-env#readme)
[![Release Version](https://img.shields.io/npm/v/typescript-env.svg)](https://www.npmjs.com/package/typescript-env)
This package provides typed interface accessing environment variables.