About

Node-Air5

Air5 Is An Asynchronous And Flexible Database Manager That Supports Multiple Providers.

Providers

  • Mongo

  • Redis

  • Sqlite

  • LevelDB

  • RocksDB

  • PouchDB

  • NeDB

  • LowDB

  • AirDB

  • Enmap

  • Memory

  • YAML

  • CSV

  • TSON

  • BSON

  • JSON

  • CSON

  • JSON5

  • FLAT

Installation

npm i air5 --save
npm i air5-mongo --save

npm i air5-redis --save

npm i air5-sqlite --save

npm i air5-level --save

npm i air5-rocks --save

npm i air5-pouch --save

npm i air5-nedb --save

npm i air5-low --save

npm i air5-air --save

npm i air5-enmap --save

npm i air5-memory --save

npm i air5-yaml --save

npm i air5-csv --save

npm i air5-tson --save

npm i air5-bson --save

npm i air5-json --save

npm i air5-cson --save

npm i air5-json5 --save

npm i air5-flat --save

Usage

const Air5 = require('air5')

const database = new Air5('example-name', {
    provider: 'provider-goes-here',
    path: './air5/'
})

await air.set('The King', {
    id: 178362085198,
    xp: 863,
    rank: 'Marshall',
    level: 'Diamond',
    tag: '#3022'
})

console.log(await air.get('The King'))
/*//==> {
//  id: 178362085198,
//  xp: 863,
//  rank: 'Marshall',
//  level: 'Diamond',
//  tag: '#3022'
}<==//*/

Last updated