air5

Database Manager With Support For Multiple Providers

Usage no npm install needed!

<script type="module">
  import air5 from 'https://cdn.skypack.dev/air5';
</script>

README

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
  • Ect...

Installation

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

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