New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

dataquest

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dataquest

A module to create and manage databases with node.js

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Dataquest by willmil11

Installation

npm install dataquest

Usage

First import the module

var dataquest = require("dataquest");

Create a database

var database = dataquest.createDatabase();

Load a database

Syntax:

dataquest.load(%path%);

Exemple:

var database = dataquest.load("database.json");

Save a database

Syntax:

dataquest.save(%path%, %database%);

Exemple:

dataquest.save("database.json", database);

Set an item in the database

Syntax:

database.set(%item%, %value%);

Exemple:

database.set("item", "Value of item.");

Get an item in the database

Syntax:

database.get(%item%);

Exemple:

var itemvalue = database.get("item");

Delete an item in the database

Syntax:

database.delete(%item%);

Exemple:

database.delete("item");

Changelog

1.0.0

  • First release

Future features

  • Add encrypted databases
  • Add a feature to share a database on multiple devices (Multiple devices containing little pieces of the same database to store more data)

Keywords

database

FAQs

Package last updated on 08 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts