# objstorage

> sessionStorage/localStorage API but backed by an object

Latest version **1.0.0** (published 2018-04-24) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2018-04-24 |
| First published | 2018-04-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Arnout Kazemier |
| Maintainers | 3rdeden |
| Keywords | object, obj, storage, objstorage, localstorage, sessionstorage |

## Links

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

## 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

- 1.0.0 (latest) — 2018-04-24

## README

# objstorage

[![Made by unshift][made-by]](http://unshift.io)[![Version npm][version]](http://browsenpm.org/package/objstorage)[![Build Status][build]](https://travis-ci.org/unshiftio/objstorage)[![Dependencies][david]](https://david-dm.org/unshiftio/objstorage)[![Coverage Status][cover]](https://coveralls.io/r/unshiftio/objstorage?branch=master)[![IRC channel][irc]](http://webchat.freenode.net/?channels=unshift)

[made-by]: https://img.shields.io/badge/made%20by-unshift-00ffcc.svg?style=flat-square
[version]: https://img.shields.io/npm/v/objstorage.svg?style=flat-square
[build]: https://img.shields.io/travis/unshiftio/objstorage/master.svg?style=flat-square
[david]: https://img.shields.io/david/unshiftio/objstorage.svg?style=flat-square
[cover]: https://img.shields.io/coveralls/unshiftio/objstorage/master.svg?style=flat-square
[irc]: https://img.shields.io/badge/IRC-irc.freenode.net%23unshift-00a8ff.svg?style=flat-square

A cross platform `sessionStorage` or `localStorage` for browsers and node backed
by an plain `object` instead of browser API's.

## Installation

This module is written for node and browserify and can be installed using npm:

```
npm install --save objstorage
```

## Usage

This module exposes a node / `module.exports` interface.

```js
var objStorage = require('objStorage')
```

The API is exactly the same as the DOM storage API so you can use the following
methods:

- `getItem(key)`
- `setItem(key, value)`
- `removeItem(key)`
- `clear()`

## License

MIT

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