https://github.com/budarin/local-store
Local storage service
https://github.com/budarin/local-store
Last synced: 16 days ago
JSON representation
Local storage service
- Host: GitHub
- URL: https://github.com/budarin/local-store
- Owner: budarin
- License: mit
- Created: 2023-11-29T20:44:38.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-04-17T15:19:52.000Z (about 1 month ago)
- Last Synced: 2025-04-18T06:10:21.871Z (about 1 month ago)
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@budarin/local-store
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# local-store
Local storage service
## Installation
```bash
yarn add @budarin/local-store
```## Usage
```ts
import { LocalStore } from '@budarin/local-store';const store = new LocalStore(); //LocalStore(console)
store.setItem('key', 'value');
store.getItem('key');
store.removeItem('key');
store.clear();
```## License
MIT