# lowdb-nativescript-adapter

> A lowdb adapter for using the database from NativeScript apps.

Latest version **0.1.0** (published 2018-05-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install lowdb-nativescript-adapter
pnpm add lowdb-nativescript-adapter
yarn add lowdb-nativescript-adapter
bun add lowdb-nativescript-adapter
```

## Health

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

Positive: has types; no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2018-05-30 |
| First published | 2018-05-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 17.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Ludwik Trammer |
| Maintainers | ludwik |
| Keywords | NativeScript, Lowdb, adapter, database, json |

## Links

- npm: https://www.npmjs.com/package/lowdb-nativescript-adapter
- Repository: https://github.com/ludwiktrammer/lowdb-nativescript-adapter
- Issues: https://github.com/ludwiktrammer/lowdb-nativescript-adapter/issues
- npm.io page: https://npm.io/package/lowdb-nativescript-adapter

## Dependencies (2)

- [lowdb](https://npm.io/package/lowdb.md) ^1.0.0
- [tns-core-modules](https://npm.io/package/tns-core-modules.md) ^3.0.0

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.1.0 (latest) — 2018-05-30

## README

# Lowdb NativeScript Adapter
A lowdb adapter for using the database from NativeScript apps.

## Installation
Run the following command from the root of your project:

```
npm install --save lowdb-nativescript-adapter
```

## Example
### TypeScript
```
import * as lowdb from "lowdb";
import * as NativeScriptAdapter from "lowdb-nativescript-adapter";

const adapter = new NativeScriptAdapter('db.json');
const db = lowdb<lowdb.AdapterSync>(adapter);
```

### JavaScript
```
const lowdb = require("lowdb");
const NativeScriptAdapter = require("lowdb-nativescript-adapter");

const adapter = new NativeScriptAdapter('db.json');
const db = lowdb(adapter);
```

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