Socket
Socket
Sign inDemoInstall

pro.db

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pro.db

a simple and easy database package make your life easy.


Version published
Weekly downloads
1.1K
decreased by-33.04%
Maintainers
1
Weekly downloads
 
Created
Source

Discord server NPM version Size NPM downloads

What is Pro.db ?

  • It is a easy and quick storage unit that relies on objects to store data in JSON format

Installation

  • You need to install the package on your project
npm install pro.db
yarn add pro.db

Example File

encrypt

How To Use

const db = require('pro.db');

db.set('key','value');// to set a data to database.
db.get('key');// to get the data by key.
db.delete('key');// to delete key from database.
db.has('key','value');// return "true" or "false".

db.add('key', 10;)// to add a number to the key.
db.substract('key', 5);// to subtract a number from the key.
db.push('key', 10);// to set a data at the end.
db.math("key","+",5);// to math the numbers.

db.fetch(); // to fetch the data from database. 
db.fetchAll();// to fetchAll data.
db.all();// to get all data in database.

db.backup("Filename");// to make a backup file.
db.info();// to get info about the package.
db.reset();// to delete all data and database.

Contact

  • Contact With Me Discord : Falso#4235

License

Keywords

FAQs

Package last updated on 29 Dec 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc