# random-access-web

> Chooses the fastest random access backend based on the user's browser

Latest version **2.0.3** (published 2019-07-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install random-access-web
pnpm add random-access-web
yarn add random-access-web
bun add random-access-web
```

## 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 | 2.0.3 |
| Published | 2019-07-08 |
| First published | 2019-03-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 6.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 40 |
| Author | rangermauve |
| Maintainers | mafintosh, rangermauve |
| Keywords | random, access, storage, web, browser |

## Links

- npm: https://www.npmjs.com/package/random-access-web
- Repository: https://github.com/RangerMauve/random-access-web
- Homepage: https://github.com/RangerMauve/random-access-web#readme
- Issues: https://github.com/RangerMauve/random-access-web/issues
- npm.io page: https://npm.io/package/random-access-web

## Dependencies (6)

- [random-access-idb](https://npm.io/package/random-access-idb.md) ^1.2.1
- [random-access-memory](https://npm.io/package/random-access-memory.md) ^3.1.1
- [random-access-storage](https://npm.io/package/random-access-storage.md) ^1.3.0
- [random-access-chrome-file](https://npm.io/package/random-access-chrome-file.md) ^1.1.2
- [random-access-idb-mutable-file](https://npm.io/package/random-access-idb-mutable-file.md) ^0.3.0
- [@sammacbeth/random-access-idb-mutable-file](https://npm.io/package/@sammacbeth/random-access-idb-mutable-file.md) ^0.1.1

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 2.0.3 (latest) — 2019-07-08
- 2.0.2 — 2019-06-09
- 2.0.1 — 2019-03-21
- 2.0.0 — 2019-03-20
- 1.1.0 — 2019-03-13
- 1.0.0 — 2019-03-13

## README

# random-access-web
Chooses the fastest random access backend based on the user's browser

```shell
npm install --save random-access-web
```

```js
const RAW = require('random-access-web')

const storage = RAW('dats')

const dat = new DatJs({
  db: storage
})
```

## Options:

- `name`: The database name to use (if applicable)
- `storeName`: The collection to use for the data (For indexedDB)
- `maxSize`: The maximum size to allocate for Chrome file storage

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