Skip to content

jonathan-richer/node-db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Javascript database

A simple database library for server-side nodejs

Features

  • Databases
  • Tables
  • Typed rows
  •  Autoincrement
  • insert (INSERT)
  • select (SELECT)
  • delete (DELETE) -- coming soon...

Usage

Terminal:

$ npm install node-dbjs --save-dev

<file>.js

const { connect } = require("node-dbjs");

const rows = [
	{
		name: "<row's name>",
		type: "<row's type (string | number | boolean)>",
		options: {
			autoIncrement: true, // Boolean
			notnull: true // Boolean
		}
	}
];

const db = connect("<name>", , __dirname);

About

A basic node module to work with simple databases

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published