Skip to content

renato425/isadb2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤩 IsaDB2 - The New IsaDB!!

IsaDB2 - The new method of saving

npm square documentation

About

The IsaDB2 is the new method of saving, creating a .isadb2 file, you can make a new database local.

See the docs! for ptBR language

Compatibility: Works with CommonJS an EcmaScript

Instalation

Tested in Node v18.7.0

npm install isadb2

Example Usage

Install isadb2:

npm install isadb2

Creating a instance and saving things

//using Ecma
import { create, get, set } from 'isadb2'

async function main() {
    await create() //create instance
    
    await set('foo', 'bar') //save inside db.isadb2
    console.log(await get('foo')) //returns -> bar
}

//using CommonJS
const isadb2 = require('isadb2')

async function main() {
    await isadb2.create() //create instance
    
    await isadb2.set('foo', 'bar') //save inside db.isadb2
    console.log(await isadb2.get('foo')) //returns -> bar
}

Contributing

Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the documentation Check the repository if you'd like to submit a PR.

Help

If you don't understand something in the documentation, you are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to make a issue in GitHub

About

IsaDB2 - The new method of saving

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published