redshift-sql
A very light node-postgres wrapper for running AWS Redshift queries.
Installation
Download node at nodejs.org and install it, if you haven't already.
npm install redshift-sql --save
Usage
var config = host: 'rs-cluster.us-east-1.redshift.amazonaws.com' db: 'dev' user: 'rsadmin' password: 'rsPassword';var rssql = config;var query = 'select * from myTable limit 10'; ;
Tests
npm installnpm test
Dependencies
- pg: PostgreSQL client - pure javascript & libpq with the same API
Dev Dependencies
- package-json-to-readme: Generate a README.md from package.json contents
License
ISC
Generated by package-json-to-readme