MCPcopy Create free account
hub / github.com/ScrapeGraphAI/just-scrape / getVersion

Function getVersion

src/utils/banner.ts:7–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5const _require = createRequire(import.meta.url);
6
7export function getVersion(): string {
8 for (const p of ["../../package.json", "../package.json"]) {
9 try {
10 return _require(p).version;
11 } catch {}
12 }
13 return "0.0.0";
14}
15
16const BANNER = [
17 "╔═╗╦ ╦╔═╗╔╦╗ ╔═╗╔═╗╦═╗╔═╗╔═╗╔═╗",

Callers 2

cli.tsFile · 0.85
showBannerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected