Socket
Socket
Sign inDemoInstall

skitter

Package Overview
Dependencies
18
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    skitter

Progressive ORM for interacting with CockroachDB.


Version published
Weekly downloads
11
increased by1000%
Maintainers
1
Install size
554 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 25 Jun 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc