v2dbdeprecated

Fast and simple database handler for NodeJS.

Usage no npm install needed!

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

README

Installation

# NPM
npm install v2db --save
# YARN
yarn add v2db

Usage

const {v2db} = require('v2db');
const db = new v2db({
  name: 'myDatabase', // default: db
  seperator: '.', // default: .
  language: 'en' // default: en
});

db.set('hello.world', 'HELLO!'); // {"hello": {"world": "HELLO!"}}
db.get('hello'); // {"world": "HELLO!"}
db.get('hello.world'); // HELLO!