janken
TypeScript icon, indicating that this package has built-in type declarations

0.0.0 • Public • Published

janken

Because rock, paper, scissors is just as serious as your database.

Build Status MIT license

Version: 0.0.0 (hardly usable)

A universal database terminal client built with Ink.

Until this TODO is solved, I recommend not using this. Version 0.1.0 will be a usuable release.

janken_demo

Installation

  1. Clone this repository
  2. cd to directory and npm install
  3. Build the project: npm run build
  4. Link compiled code to janken by running:npm link

You can now run janken

Setup


janken_init


janken init
  1. Name your connecton
  2. Enter your connection string in this form:
    • provider://username:passsword@host/database
    • Example: postgres://pguser:pgPA$$@localhost/mydb

Currently supported databases

  • PostgreSQL
  • MySQL

Configuration

janken's configuration file is stored in your home directory under .janken.

Example:

/home/user/.janken

An example of what is currently stored in the configuration file:

[
  {
    "connectionName": "PG",
    "connectionString": "postgres://postgres:postgres@localhost/pgdb"
  }
]

Readme

Keywords

none

Package Sidebar

Install

npm i janken

Weekly Downloads

0

Version

0.0.0

License

MIT

Unpacked Size

89.7 kB

Total Files

49

Last publish

Collaborators

  • olingern