Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Linen-dev/linen.dev
/ isProd
Function
isProd
packages/utilities/src/url.ts:1–1 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
const
isProd = () => process.env.NODE_ENV ===
'production'
;
2
3
export
function
stripProtocol(url: string): string {
4
return
url.replace(/^https?:\/\
//, '');
Callers
1
appendProtocol
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected