sqlite-to-nedb

0.0.4 • Public • Published

sqlite-to-nedb

Util for converting a sqlite database into a nedb database (one file per table)

the Module is quite simple to use, and it returns you a Promsie:

const converter = require('sqlite-to-nedb');
let dbLocation = './sqlite/data.db';    // location of your sqlite file
let nedbFolder = './datastore';         // destination folder where your files have to be save, defaults to "."
let ext = '.ne':                        // extension of your nedb files, defaults to ".nedb"
 
// three ways to use the module:
converter(dbLocation, nedbFolder, ext)  // OR
converter(dbLocation, nedbFolder)       // OR
converter(dbLocation)

Readme

Keywords

Package Sidebar

Install

npm i sqlite-to-nedb

Weekly Downloads

3

Version

0.0.4

License

MIT

Last publish

Collaborators

  • mido22