jsonsqlite
v1.0.3
Published
JSON object to SQLite file.
Downloads
7
Readme
JSONSQLite
JSONSQLite lets you store JSON data in a SQLite database.
Getting Started
Installation
Using npm:
npm install --save jsonsqlite
Loading in Node.js
const jsql = require('jsonsqlite')
Example Script
const jsql = require('../index.js')
jsql.newJSON('{ "test": "hello" }')
jsql.setJSON('{ "test": "hello" }')
jsql.getJSON(function(err, data) {
if (err) console.error(err)
console.log(data.test)
})
This script can be tested in test/maintest.js. It should return this:
hi
Why JSONSQLite?
If you are good with JSON, but not with SQLite, this is for you!
Issues or Questions
If you have an issue or question about this module, make a new issue here.
Current Known Bugs
There are some currently known bugs, they are as followed:
- No table
jsondata
on first run
They will be fixed alongside development.