Skip to content
This repository has been archived by the owner on Nov 27, 2021. It is now read-only.

deno-libs/node-http

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

node-http

GitHub Workflow Status Coverage

⚠️ DEPRECATED! Use std/http instead.

Node.js-like HTTP server for Deno. Makes porting web things from Node (a little bit) easier.

Example

import { createServer } from 'https://deno.land/x/node_http/mod.ts'

const s = createServer((req) => req.respond({ body: 'Hello' }))

s.on('error', (err) => console.log(err))

s.on('listening', () => console.log(s.address()))

await s.listen({ port: 3000 })

About

🐒 Node.js-like HTTP server for Deno. Makes porting web things from Node (a little bit) easier.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project