1.0.12 • Published 12 months ago

@gibme/local-storage v1.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

Simple Local Storage Helper

Static wrapper around a browser's localStorage that falls back to File based storage in the host's temporary directory.

Such storage is generally persistent across pages within a domain; and, if file based, across application executions.

Documentation

https://gibme-npm.github.io/local-storage/

Sample Code

import LocalStorage from '@gibme/local-storage';

LocalStorage.set('somekey', 'somevalue');

if (LocalStorage.has('somekey')) {
    console.log(LocalStorage.get<string>('somekey'));
    
    LocalStorage.remove('somekey');
}
1.0.10

12 months ago

1.0.12

12 months ago

1.0.7

1 year ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago