Comparing version 0.0.4 to 0.0.5
{ | ||
"name": "akasha", | ||
"version": "0.0.4", | ||
"description": "Store the ethereal", | ||
"main": "lib/", | ||
"version": "0.0.5", | ||
"description": "Cross-browser storage with cookie-based fallback. Inspired by [store.js](https://github.com/marcuswestin/store.js/).", | ||
"main": "dist/akasha.js", | ||
"module": "dist/akasha.mjs", | ||
"js:next": "dist/akasha.mjs", | ||
"scripts": { | ||
"prepublish": "cake build:min" | ||
"prepublish": "cake build" | ||
}, | ||
@@ -40,5 +42,6 @@ "repository": { | ||
"coffee-coverage": "1.0.1", | ||
"coffee-script": "1.12.3", | ||
"coffee-script": "1.12.4", | ||
"coveralls": "2.11.16", | ||
"es5-shim": "4.5.9", | ||
"handroll": "0.2.6", | ||
"istanbul": "0.4.5", | ||
@@ -48,11 +51,9 @@ "mocha": "3.2.0", | ||
"postmortem": "0.2.4", | ||
"requisite": "1.19.1", | ||
"shortcake": "1.1.18", | ||
"uglify-js": "2.7.5" | ||
"shortcake": "1.2.5", | ||
"uglify-js": "2.8.7" | ||
}, | ||
"dependencies": { | ||
"crypto-js": "3.1.9-1", | ||
"js-cookie": "2.1.3", | ||
"store": "1.3.20" | ||
"es-cookies": "2.1.5", | ||
"es-md5": "2.7.1" | ||
} | ||
} |
@@ -1,1 +0,42 @@ | ||
# akasha | ||
# akasha [![NPM version][npm-img]][npm-url] [![Build Status][travis-img]][travis-url] [![Coverage Status][coveralls-img]][coveralls-url] [![Dependency Status][dependency-img]][dependency-url] | ||
Cross-browser storage with cookie-based fallback. Inspired by | ||
[store.js](https://github.com/marcuswestin/store.js/). | ||
## Install | ||
```bash | ||
$ npm install akasha | ||
``` | ||
## Usage | ||
```javascript | ||
import store from 'akasha'; | ||
// Store current user | ||
store.set('user', {name: 'David'}) | ||
// Get current user | ||
store.get('user') | ||
// Remove current user | ||
store.remove('user') | ||
// Clear all keys | ||
store.clear() | ||
``` | ||
[travis-img]: https://img.shields.io/travis/davidtai/akasha.svg | ||
[travis-url]: https://travis-ci.org/davidtai/akasha | ||
[coveralls-img]: https://coveralls.io/repos/davidtai/akasha/badge.svg?branch=master&service=github | ||
[coveralls-url]: https://coveralls.io/github/davidtai/akasha?branch=master | ||
[dependency-url]: https://david-dm.org/davidtai/akasha | ||
[dependency-img]: https://david-dm.org/davidtai/akasha.svg | ||
[npm-img]: https://img.shields.io/npm/v/akasha.svg | ||
[npm-url]: https://www.npmjs.com/package/akasha | ||
[gitter-img]: https://badges.gitter.im/join-chat.svg | ||
[gitter-url]: https://gitter.im/davidtai/hi | ||
<!-- not used --> | ||
[downloads-img]: https://img.shields.io/npm/dm/akasha.svg | ||
[downloads-url]: http://badge.fury.io/js/akasha | ||
[devdependency-img]: https://david-dm.org/davidtai/akasha/dev-status.svg | ||
[devdependency-url]: https://david-dm.org/davidtai/akasha#info=devDependencies |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2
43
5889
10
0
2
+ Addedes-cookies@2.1.5
+ Addedes-md5@2.7.1
+ Addedes-cookies@2.1.5(transitive)
+ Addedes-md5@2.7.1(transitive)
+ Addedes-object-assign@4.1.1(transitive)
- Removedcrypto-js@3.1.9-1
- Removedjs-cookie@2.1.3
- Removedstore@1.3.20
- Removedcrypto-js@3.1.9-1(transitive)
- Removedjs-cookie@2.1.3(transitive)
- Removedstore@1.3.20(transitive)