chrome-storage-promise
0.1.0 • Public • Published chrome-storage-promise
Installation
npm
npm install --save chrome-storage-promise
bower
bower install --save chrome-storage-promise
Usage
chrome.storage.promise.local.set({'foo': 'bar'}).then(function() {
console.log('set');
}, function(error) {
console.log(error);
});
chrome.storage.promise.local.get('foo').then(function(items) {
console.log(items);
}, function(error) {
console.log(error);
});
Development
Build
npm install
npm run build
Test
npm install
npm run build
npm test
Lisence
The MIT License.
/chrome-storage-promise/
//
Package Sidebar
Install
npm i chrome-storage-promise
Weekly Downloads