Nourishing Pear Medley

    skitter

    0.2.1 • Public • Published

    Skitter

    Progressive ORM for interacting with CockroachDB.

    Build Status Test Coverage Code Climate JavaScript Style Guide

    ALPHA

    This package is in alpha. However, active progress is being made daily and everything in the public API (below) is well tested / unlikely to change. Be cautious of automatically upgrading to minor releases until v1; check release notes on these releases post v0.2.0.

    Install

    npm install skitter
    

    Usage

    Setup environment variables...

    DB_USER=       # database user
    DB_PASSWORD=   # database password
    DB_DATABASE=   # database to use
    DB_HOST=       # database host
    DB_PORT=       # database port
    DB_MAX=        # max connections in pool
    DB_TIMEOUT=    # timeout in milliseconds for idle clients
    

    And go.

    const skitter = require('skitter')
    skitter.query('<SQL STATEMENT>').run().then(console.log)

    Data Types

    From CockroachDB

    skitter.Types.<type> // Returns SQL representation of the type.

    License

    MIT

    Install

    npm i skitter

    DownloadsWeekly Downloads

    35

    Version

    0.2.1

    License

    MIT

    Last publish

    Collaborators

    • codyspring