Comparing version 1.0.7 to 1.0.8
{ | ||
"name": "hivessh", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "HiveSsh simplifies SSH2 connections via promise-based task execution on Linux servers with built-in server utilities and powerful command execution functions", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -9,7 +9,7 @@ # HiveSsh | ||
<!-- ![](https://img.shields.io/badge/dynamic/json?color=green&label=watchers&query=watchers&suffix=x&url=https%3A%2F%2Fapi.github.com%2Frepos%2Fnoblemajo%2Fhivessh) | ||
![](https://img.shields.io/badge/dynamic/json?color=green&label=watchers&query=watchers&suffix=x&url=https%3A%2F%2Fapi.github.com%2Frepos%2Fnoblemajo%2Fhivessh) | ||
![](https://img.shields.io/badge/dynamic/json?color=yellow&label=stars&query=stargazers_count&suffix=x&url=https%3A%2F%2Fapi.github.com%2Frepos%2Fnoblemajo%2Fhivessh) | ||
![](https://img.shields.io/badge/dynamic/json?color=orange&label=subscribers&query=subscribers_count&suffix=x&url=https%3A%2F%2Fapi.github.com%2Frepos%2Fnoblemajo%2Fhivessh) | ||
![](https://img.shields.io/badge/dynamic/json?color=navy&label=forks&query=forks&suffix=x&url=https%3A%2F%2Fapi.github.com%2Frepos%2Fnoblemajo%2Fhivessh) | ||
![](https://img.shields.io/badge/dynamic/json?color=darkred&label=open%20issues&query=open_issues&suffix=x&url=https%3A%2F%2Fapi.github.com%2Frepos%2Fnoblemajo%2Fhivessh) --> | ||
<!-- ![](https://img.shields.io/badge/dynamic/json?color=darkred&label=open%20issues&query=open_issues&suffix=x&url=https%3A%2F%2Fapi.github.com%2Frepos%2Fnoblemajo%2Fhivessh) | ||
![](https://img.shields.io/badge/dynamic/json?color=orange&label=subscribers&query=subscribers_count&suffix=x&url=https%3A%2F%2Fapi.github.com%2Frepos%2Fnoblemajo%2Fhivessh) --> | ||
@@ -104,3 +104,3 @@ HiveSsh simplifies SSH2 connections via promise-based task execution on Linux servers with built-in server utilities and powerful command execution functions. | ||
// check if curl command exists | ||
const curlExists = await myHost.exists("curl") | ||
const curlExists = await myHost.cmdExists("curl") | ||
if(!curlExists){ | ||
@@ -128,3 +128,3 @@ myHost.close() | ||
// check if git command exists | ||
const gitExists = await myHost.exists("git") | ||
const gitExists = await myHost.cmdExists("git") | ||
if(!gitExists){ | ||
@@ -131,0 +131,0 @@ myHost.close() |
312630