MCPcopy 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

1const isProd = () => process.env.NODE_ENV === 'production';
2
3export function stripProtocol(url: string): string {
4 return url.replace(/^https?:\/\//, '');

Callers 1

appendProtocolFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected