MCPcopy Create free account
hub / github.com/NaturalIntelligence/fast-xml-parser / man.js

File man.js

src/cli/man.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import fs from 'fs';
2import { resolve } from 'path';
3const packageJsonPath = resolve(process.cwd(), 'package.json');
4const version = JSON.parse(fs.readFileSync(packageJsonPath).toString()).version;

Callers

nothing calls this directly

Calls 2

parseMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected