@mh-cbon/c-yasudo
v1.0.2
Published
Cached yasudo
Downloads
18
Readme
c-yasudo
Cached yasudo
Install
npm @mh-cbon/c-yasudo --save
Usage
Set sudo password given a pre defined env variable.
// by default it will use process.env['yasudo']
var spawn = require('@mh-cbon/c-yasudo');
// but you can configure it
spawn.setVariable('THE_VARIABLE')
// password will now be looked into process.env['THE_VARIABLE']