0.3.0 • Published 2 years ago

tindb v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

TinDB

Very simple localdatabase for Node, Browser, or Electron.

Still in alpha, do not use for production. Use at your own risks.

Installation

# NPM
npm i tindb
# Yarn
yarn add tindb

How to use

// Create adapter
const adapter = new JSONAdapter(filepath)

// Create instance of the database
const db = new TinDB(adapter)

// Read data
const data = await db.read()

// Write data
await db.write(data)

To Do

  • Memory Adapter
  • Local Storage Adapter
0.3.0

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago