import{ serve }from'https://deno.land/std/http/server.ts'; // deno run --allow-net --allow-read standard-library.ts// Docs: https://deno.land/std/httpconst s =serve({ port:8000}) console.log(`🦕 Deno server running at http://localhost:8000/ 🦕`) forawait(const req of s){ req.respond({ body:'Hello from your first Deno server'})} exportfunctionrest(){return(app:any)=>{ app.listen=asyncfunction(port:number){const s =serve({ port:8000}); console.log(`🦕 Deno server running at http://localhost:8000/ 🦕`)forawait(const req of s){ req.respond({ body:'Hello from your first Deno server'})}}}}