0.1.0 ā€¢ Published 9 years ago

glove v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

Glove

NPM version NPM download

LOGO

šŸ“¦ Glove is a library help you store data with window object uniformity. It just like a glove box.

Usage

Install

CommonJS:

$ npm install glove

use case

var store = require('glove').pick('yourGloveBox');

// store in window object
store.set('name', 'Randy');
store.get('name') // Randy

// store in localStorage
store.$set('historyName', 'djyde');
store.$get('historyName') // djyde

License

MIT License