0.4.1 • Published 1 year ago

rustbase-js v0.4.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Rustbase JS

A driver to use Rustbase with NodeJS

Installation

npm install rustbase-js

Usage

const { connect } = require('rustbase-js');

const rustbase = connect("rustbase://<url>:23561/supercooldatabase");

With username and password

You can also connect to a Rustbase database with a username and password. Just add them to the URL.

const rustbase = connect("rustbase://username:password@<url>:23561/supercooldatabase");

With SSL

You can also connect to a Rustbase database with SSL.

const rustbase = connect("rustbase://username:password@<url>:23561/supercooldatabase", {
    tls: true,
});

Contribute

Prerequisites

  • pnpm: We use pnpm as our package manager. You can install it with npm install -g pnpm.

Setup

  1. Clone the repository: git clone https://github.com/rustbase/rustbase-js
  2. Enter the directory: cd rustbase-js
  3. Install dependencies: pnpm install

License

MIT License

0.4.1

1 year ago

0.4.0

1 year ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago