Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cloud-db.ts

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloud-db.ts

Typescript wrapper for cloud db, with typing support.

  • 1.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Cloud DB.ts

Hi welcome to my first api wrapper,

links:

  • API Url: https://cloud-db.ml/
  • Server Invite: https://discord.gg/nEtTMS934g
  • Javascript version (this one works well with js as well) https://www.npmjs.com/package/cloud-db.js

Features:

  • Promised based
  • Full typescript support

Example:

Javascript

let { Database } = require("cloud-db.ts");

let db = new Database("key");

db.editOrCreate("key", "value");

db.deleteKeyValue("key");

db.getAllValues();

db.getValues("key");

db.addValues("key", "value");

db.subTractValues("key", "value");

Typescript

import { Database } from "cloud-db.ts";

let db = new Database("key");

db.editOrCreate("key", "value");

db.deleteKeyValue("key");

db.getAllValues();

db.getValues("key");

db.addValues("key", "value");

db.subTractValues("key", "value");

Keywords

FAQs

Package last updated on 28 Aug 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