docs-component-follow-public-pop 1.0.7
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 docs-component-follow-public-pop might be problematic. Click here for more details.
- package/index.js +12 -0
- 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
|
+
}
|