You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

causedb

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

causedb

a ready to made database that uses a combination of SQL and JSON. It is easy to use, making it a great choice for those who need a simple database solution.

3.0.9
latest
npmnpm
Version published
Weekly downloads
49
512.5%
Maintainers
1
Weekly downloads
 
Created
Source

CauseDB

Logo

CauseDB is a database that uses a combination of SQL and JSON. It is easy to use, making it a great choice for those who need a simple database solution.

Authors

  • @thatfriendlyasiandev

Badges

Github Issues

License

Features

  • Data is stored with Json
  • Easy to use

Documentation

Documentation

Installation

Install CauseDB With npm

  npm install causedb -g

Warnings

-Security Is terrible with no password protection and no user management -Losing data whenever you download a new version,Look below for a backup solution

Backing Up Data

Backup Solution 1

  • Head Over to C:\Users\ Your Username \AppData\Roaming\npm\node_modules\causedb\databases\
  • Copy all folders and files to a new location
  • Now you have successfully backed up your data

Backup Solution 2

  • a New feature coming soon will automatically backs up your data everytime you start the server
  • First add the following code to -bp path to where you want to backup your data or --backupPath to where you want to backup your data
  • Then run the server
  • You will see a message in the console that your data is being backed up
  • You can also check the logs in the console to see if the backup is successful
  causedb --backupPath "C:\Users\ Your Username \AppData\Roaming\npm\node_modules\causedb\databases\"
  • Note: Make sure you have the right path for the backup location and that you have the right permissions to write to the location

FAQ

How good is the speed

lets be honest,speed is really bad compared to other databases,which leads to another question why should i use this database?

Why should i use the database?

First of all its, made to be used on simple projects and client and server hosted on the same device,meaning if you hosted an api in a server the database server would also,be hosted there.

My Data is gone

One big problem is when you update causedb or install new versions you will lose your data,so you should backup your data before doing that.

License

MIT

Feedback

If you have any feedback, please reach out to me at gingy.gor@gmail.com

Keywords

json

FAQs

Package last updated on 09 Aug 2022

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