Pewarta Proxy

๐Ÿ“‹ Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

โš™๏ธ Pengaturan Proxy Target

Skip to content
tinyhttpPublic

About

๐Ÿ“ Response time checker middleware

Topics

Resources

Stars

9 stars

Watchers

1 watching

Forks

Latest commit

ย 

History

7 Commits

Folders and files

Repository files navigation

@tinyhttp/ping

npm GitHub Workflow Status Coverage

Inspired by koa-response-time

Response time checker for Node.js. Sets X-Response-Time header using process.hrtime()

Install

pnpm i @tinyhttp/ping

API

import { ping } from '@tinyhttp/ping'

Options

round

Round the ping time. Default is set to true.

Example

import { ping } from '@tinyhttp/ping'
import { createServer } from 'http'
import path from 'path'

createServer(async (req, res) => {
  ping()(req, res)
  res.end('Hello World')
}).listen(3000)

About

๐Ÿ“ Response time checker middleware

Topics

Resources

Stars

9 stars

Watchers

1 watching

Forks

Sponsor this project

Used by

Contributors

Languages

Generated from tinyhttp/repo-template