Skip to content

pavelstudeny/structured-localstorage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transparently store JSONable data into localStorage

localStorage provides a simple key - string value storage. This module behaves like a regular object and stores its data to localStorage on the background.

Requires browsers that support Proxy object:

  • Chrome 49+
  • Firefox 18+
  • Edge
  • Safari 10+

Usage

var storage = require('structured-localstorage');

storage.key = { subkey: 'value' };
storage.key.subkey = 'new value';

About

Transparently store JSONable data into localStorage

Resources

License

Stars

Watchers

Forks

Packages

No packages published