Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tinyhttp/tinyhttp
/ lead
Function
lead
packages/app/src/app.ts:17–17 ·
view source on GitHub ↗
(x: string)
Source
from the content-addressed store, hash-verified
15
* @param x
16
*/
17
const
lead = (x: string) => (x.charCodeAt(0) === 47 ? x :
'/'
+ x)
18
19
const
mount = (fn: App | Handler) => (fn instanceof App ? fn.attach : fn)
20
Callers
1
handle
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected