New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

lowdb-encrypted-nativescript-adapter

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lowdb-encrypted-nativescript-adapter

A lowdb adapter for using the database from NativeScript apps.

0.1.1
latest
Source
npm
Version published
Weekly downloads
10
900%
Maintainers
1
Weekly downloads
 
Created
Source

Lowdb Encrypted NativeScript Adapter

A lowdb adapter for using the database from NativeScript apps.

All data will be encrypted before save using a autogenerated secret key.

Installation

Run the following command from the root of your project:

npm install --save lowdb-encrypted-nativescript-adapter

Example

TypeScript

import * as lowdb from "lowdb";
import * as NativeScriptEncryptedAdapter from "lowdb-encrypted-nativescript-adapter";

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

JavaScript

const lowdb = require("lowdb");
const NativeScriptEncryptedAdapter = require("lowdb-encrypted-nativescript-adapter");

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

Based from ludwiktrammer/lowdb-nativescript-adapter

Keywords

NativeScript

FAQs

Package last updated on 06 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts