# akasha

> Cross-browser storage with cookie-based fallback. Inspired by [store.js](https://github.com/marcuswestin/store.js/).

Latest version **0.1.13** (published 2019-01-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install akasha
pnpm add akasha
yarn add akasha
bun add akasha
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.13 |
| Published | 2019-01-17 |
| First published | 2015-09-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=4.0.0 |
| Dependencies | 2 |
| Unpacked size | 20.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | David Tai |
| Maintainers | davidtai, zeekay |
| Keywords | cookie, cookies, localStorage, sessionStorage, storage, store |

## Links

- npm: https://www.npmjs.com/package/akasha
- Repository: https://github.com/davidtai/akasha
- Homepage: https://github.com/davidtai/akasha#readme
- Issues: https://github.com/davidtai/akasha/issues
- npm.io page: https://npm.io/package/akasha

## Dependencies (2)

- [es-md5](https://npm.io/package/es-md5.md) ^2.7.2
- [es-cookies](https://npm.io/package/es-cookies.md) ^2.1.18

## Alternatives

- [localforage](https://npm.io/package/localforage.md) — 6.2M weekly downloads
- [localforage-observable](https://npm.io/package/localforage-observable.md) — 30.8K weekly downloads
- [@y/y](https://npm.io/package/@y/y.md) — 30.1K weekly downloads
- [@metaobjectsdev/render](https://npm.io/package/@metaobjectsdev/render.md) — 3.5K weekly downloads
- [@ledgerhq/coin-algorand](https://npm.io/package/@ledgerhq/coin-algorand.md) — 1.1K weekly downloads

## Recent versions

- 0.1.13 (latest) — 2019-01-17
- 0.1.12 — 2019-01-17
- 0.1.11 — 2019-01-17
- 0.1.10 — 2017-10-05
- 0.1.9 — 2017-05-07
- 0.1.8 — 2017-05-06
- 0.1.7 — 2017-04-12
- 0.1.6 — 2017-04-10
- 0.1.4 — 2017-04-08
- 0.1.3 — 2017-04-08
- 0.1.2 — 2017-04-08
- 0.1.1 — 2017-03-22
- 0.1.0 — 2017-03-10
- 0.0.13 — 2017-03-09
- 0.0.12 — 2017-03-09
- … 11 more at https://npm.io/package/akasha/versions

## README

# 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

---
_Source: https://npm.io/package/akasha · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
