NativeScript Loki
Thin wrapper around Loki and Loki NativeScript adapter
What is Loki
LokiJS is a document oriented database written in javascript, published under MIT License. Its purpose is to store javascript objects as documents in a nosql fashion and retrieve them with a similar mechanism. - LokiJS
Installation
Run the following command from the /app
directory of your project:
$ npm install nativescript-loki --save
Usage
// Requirementsvar Loki = ; // Setup Lokivar db = "loki" autosave: true ; // Check if database existsifdb console; // Rename databasedb; // Remove databasedb;
Thanks
The thanks goes to sect2k who has inspired me to create this package.
To go deeper in Loki have a look at the documentation.