📜  express js npm - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:51.630000             🧑  作者: Mango

代码示例3
const express = require('express');
const app = express();

app.get('/', (req, res)=> {
  res.send('Hello World');
}) 

app.listen(3000,()=>{
 console.log("starting...");
});