Nutritious Pomegranate Muffins
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

air5

6.6.3 • Public • Published

Node-Air5

npm npm NPM

Logo

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

NPM

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

Documentation

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'
}<==//*/

Install

npm i air5

DownloadsWeekly Downloads

9

Version

6.6.3

License

Apache-2.0

Unpacked Size

26.5 kB

Total Files

6

Last publish

Collaborators

  • avatar
  • avatar