Taichi.db at Glitch!


Yeah, it’s really quick & realtime Database manager.

Installation

npm install taichi.db

How to use

In glitch, Create a JSON file and Make the value as {} !
Then:

const db = require('taichi.db')

db.cdb('<json filename>')
// Now, Ready to Manage your own DATABASE

Read the Mini Docs at https://npmjs.com/taichi.db#readme

Made in Indonesia!

This packages is from Indonesian and Created by One Person only!

4 Likes

Wow! I like this a lot! Will take me a bit of time to use since I’m used to other dbs, but yeah.

i think you meant npm install taichi.db lol

3 Likes

:eyes: what if they put it in quick.db

Taichi.db Dude.

1 Like

In V2 Updates, The new Usage is:

const taichidb = require('taichi.db')
const db = taichidb('student.json') // Filename is optional. If it's not provide any filename, Taichi db will uses default path (at node_modules/taichi.db/db.json)

// Object example
db.set('Michael', {
  grade: '7',
  age: 14,
  gender: 'Male',
  attitude_value: 'B',
  total_scores: 778
})
// You don't need Async in Taichi.db.

// Get value
var michael = db.get('Michael')
// Do anything...


// Remove example
db.rm('Michael')
1 Like