Skip to content

๐Ÿ—„ A lightweight wrapper around localStorage to make it work like you think it does

License

Notifications You must be signed in to change notification settings

pieterbeulque/storee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

55 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

storee

Build Status Coverage Status

A lightweight wrapper around localStorage to make it work like you think it does

Usage

import storee from 'storee';

const store = storee();

store.set('count', 10);

const count = store.get('count'); // 10

store.set('people', ['Woody', 'Buzz']);

const [ woody, buzz ] = store.get('people');

Caveats

  • Storing 'true' or 'false' (strings) will be cast to booleans when retrieved

License

MIT

About

๐Ÿ—„ A lightweight wrapper around localStorage to make it work like you think it does

Resources

License

Stars

Watchers

Forks

Packages

No packages published