[go: up one dir, main page]

icarus.db
TypeScript icon, indicating that this package has built-in type declarations

1.0.21 • Public • Published

icarus.db Easy Database Module

Examples:

import { DBClient } from 'icarus.db';
const db = new DBClient({
  database: 'databasename',
  file: 'filename',
});

// Set
db.set(`example`, true);
db.set(`example.ex`, true); // set `example` object's `ex` property.

// Get
db.get(`example`); // returned true because we just set.
db.get(`example.ex`); // get `example` object's `ex` property.

// Push
db.push(`Array`, {
  name: 'name',
  id: 1,
});

// Pull
db.pull(`Array`, 'key', value);

Package Sidebar

Install

npm i icarus.db

Weekly Downloads

1

Version

1.0.21

License

ISC

Unpacked Size

11.8 kB

Total Files

10

Last publish

Collaborators

  • icaruss