dunes
TypeScript icon, indicating that this package has built-in type declarations

0.2.2 • Public • Published

🏜 SandDunes

SandDunes is a database based on columns and tables created to be simple but useful and efficient in testing, development and production environments.

[⚡] — Features

It is a local database with its own files, the intention is to be simple, to be easily maintained and have simplicity in maintenance as the library has options to indent data files to improve readability. Speaking a little more about the files, two extensions are used being: ".dune" and ".dust".

".dune": contains data models;
".dust": truly contains data of tables (encryption options are being considered);

In general, your learning curve will be very low, as your goal is to be simple and friendly to new developers both as users or contributors.

[⚡] — Quick Start

/* services/database.js */

const SandDunes = require('dunes')
const database = new SandDunes.default()

database.init().then(() => {
    database.create('User', {
        name: 'John Doe'
    }).then(console.log)
    // > { _ref: ColumnReferenceUUID, fields: { _ref: ColumnReferenceUUID, name: 'John Doe' } }
})

[🔺] — You can contribute to the growth of this library, just pay attention to the commit patterns that will be configured soon. Okay?

Package Sidebar

Install

npm i dunes

Weekly Downloads

0

Version

0.2.2

License

LGPL-3.0-only

Unpacked Size

64.5 kB

Total Files

23

Last publish

Collaborators

  • its_amelina