Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

akasha

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

akasha - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

src/cookie-storage.coffee

23

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc