Skip to content

Just a library to help with JSON and local/session storage.

License

Notifications You must be signed in to change notification settings

mghdotdev/mgh-storage-factory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mgh-storage-factory

Just a library to help with JSON and local/session storage.

Install

npm install mgh-storage-factory --save

Usage

import * as StorageFactory from 'mgh-storage-factory';

StorageFactory.get( 'key' );

StorageFactory.set( 'key', { foo: 'bar' } );

StorageFactory.sessionGet( 'key' );

StorageFactory.sessionSet( 'key', { foo: 'bar' } );

About

Just a library to help with JSON and local/session storage.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published