const express = require('express');
const PORT = 3000
const app = express()
app.use(express.json())
app.listen(PORT, () => {
console.log(`Server start in PORT: ${PORT}`)
})
import axios from 'axios'
const { data } = axios.get ('https://example.com')
import fetch from 'fetch'
(async () => {
const promise = await fetch ('https://example.com', ...params)
})()
import request from 'request'
(async () => {
const req = await request ('https://example.com')
})()