Skip to content
/ Air5 Public

Database Manager With Support For Multiple Providers

License

Notifications You must be signed in to change notification settings

JairusSW/Air5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED

npm npm NPM

Logo

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

NPM

Providers

  • Mongo
  • Redis
  • Sqlite
  • LevelDB
  • RocksDB
  • Ect...

Installation

npm i air5 --save   
npm i air5-[provider] --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: 'General',
    level: 'Diamond',
    tag: '#3022'
})

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

About

Database Manager With Support For Multiple Providers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published