# @formulahunter/datastorage

> automate synchronization of client & server data stores, plus other features

Latest version **0.0.1** (published 2020-07-30) · AGPL-3.0-or-later license · 0 weekly downloads

## Install

```sh
npm install @formulahunter/datastorage
pnpm add @formulahunter/datastorage
yarn add @formulahunter/datastorage
bun add @formulahunter/datastorage
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2020-07-30 |
| First published | 2020-07-30 |
| Weekly downloads | 0 |
| License | AGPL-3.0-or-later |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 88.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Hunter Gayden |
| Maintainers | formulahunter |
| Keywords | user-data, sync, multi-device, backup |

## Links

- npm: https://www.npmjs.com/package/@formulahunter/datastorage
- Repository: https://github.com/formulahunter/DataStorage
- Homepage: https://github.com/formulahunter/DataStorage#readme
- Issues: https://github.com/formulahunter/DataStorage/issues
- npm.io page: https://npm.io/package/@formulahunter/datastorage

## Alternatives

- [promise-throttle](https://npm.io/package/promise-throttle.md) — 44.2K weekly downloads
- [@commercetools/sync-actions](https://npm.io/package/@commercetools/sync-actions.md) — 25.1K weekly downloads
- [cwait](https://npm.io/package/cwait.md) — 21.4K weekly downloads
- [@ledgerhq/hw-app-cosmos](https://npm.io/package/@ledgerhq/hw-app-cosmos.md) — 4.2K weekly downloads
- [@financial-times/o-loading](https://npm.io/package/@financial-times/o-loading.md) — 2.8K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2020-07-30

## README

# DataStorage

> *The `DataStorage` module provides a simple, abstract interface to a robust
> hybrid local-remote data storage protocol. It can be easily implemented in any
> application that handles data over multiple sessions, subject to some basic
> infrastructure prerequisites.*


[TOC]: ### "Contents"

### Contents
1. [Overview](#overview)
    1. [Features](#features)
    2. [Public API](#public-api)


# Overview


### Features

Operation of the module is characterized by the following
qualities:

* *Speed*: Page load times are minimized by relying primarily on local data
  storage and evaluating remote sync result only once they are available.
* *Security*: Data exposure is mitigated by encrypting data in local storage and
  comparing remote repositories using cryptographic hash digests; data is
  transferred in incremental operations to expose only what is strictly
  necessary, and network connections are encrypted.
* *Minimal data transfer*: Cryptographic hash functions allow synchronization of
  large amounts of data using a very small network footprint.
* *Multi-device access*: By periodically synchronizing with a centralized
  server, peripheral client devices are also indirectly synchronized with one
  another.
* *Data backup*: With data saved on multiple devices, any copy can be used to
  restore another in the event of unforeseeable damage, loss or theft.


### Public API

* *search*
* *save*
* *edit*
* *delete*

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