@f0c1s/jsondb

2.0.0 • Public • Published

JSONDB

DB implementation via JSON files.


	const { Document } = require('@f0c1s/jsondb')
	const doc = new Document('data.json')

	const data = {
		type: 'type',
		data: [1, 3, 5, 7, 9]
	}

	doc.write(data)

	const readData = doc.read()

	assert.deepEqual(data, readData) // true

LICENSE

MIT © Anubhav Saini 2018 @sainianubhav

Readme

Keywords

Package Sidebar

Install

npm i @f0c1s/jsondb

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

3.1 kB

Total Files

8

Last publish

Collaborators

  • iamanubhavsaini
  • sainianubhav