Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
fs from
'fs'
;
2
import
{ resolve } from
'path'
;
3
const
packageJsonPath = resolve(process.cwd(),
'package.json'
);
4
const
version = JSON.parse(fs.readFileSync(packageJsonPath).toString()).version;
Callers
nothing calls this directly
Calls
2
parse
Method · 0.45
toString
Method · 0.45
Tested by
no test coverage detected