1.0.0 • Published 4 years ago

spawn-connector v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

spawn-connector

Version Build status

Install

Install with npm:

npm install spawn-connector

API - Wakeup connector and write command

    var sc = require('spawn-connector')('mongo');
    Promise.resolve().then(()=>c.write('show dbs')).then(s=>console.log(s.stdout)).then(()=>c.close());
    // => Gets array of database names + session closed message
1.0.0

4 years ago