Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

sterm

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sterm

Watch and run postgres SQL files when update, using your own editor

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

STerm

Watch SQL files and run them when updated

Installing

sudo npm install -g sterm

Setting up

Make a directory to store database connections (currently only supports postrgres)

module.exports = {
    postgres: {
        host: 'vm.vertebrae.io',
        //port: 5432,
        user: 'postgres',
        database: 'dev_bistatsingest'
    }
};

Running

CD to your SQL directory and run sterm

Sterm will glob for all SQL files in the current and sub-directories and attach watchers to them.

Keywords

postgres

FAQs

Package last updated on 13 Jun 2016

Did you know?

Socket

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