1.0.9 • Published 4 years ago
exec-to-html v1.0.9
exec-to-html
Execute command sending output through stream to client
Main goal
- To call process in the back-end sending the output to de front-end
Install
$ npm install exec-to-htmlEjemplo de uso
Use example
var execToHtml = require('exec-to-html');
execToHtml.run('npm-check-updates',{echo:true}).onLine(function(lineInfo){
if(lineInfo.origin === 'stderr'){
console.error(lineInfo.text);
}else{
console.log(lineInfo.text);
}
}).then(function(exitCode){
if(exitCode){
console.log('exit code =',exitCode);
}
});License
1.0.9
4 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.5
9 years ago
1.0.2
9 years ago
1.0.1
9 years ago
1.0.0
9 years ago
0.1.1
10 years ago
0.1.0
10 years ago
0.0.10
10 years ago
0.0.9
10 years ago
0.0.8
10 years ago
0.0.7
10 years ago
0.0.6
10 years ago
0.0.5
10 years ago
0.0.4
10 years ago
0.0.3
10 years ago
0.0.2
10 years ago
also available in:
