backend v4 half
This commit is contained in:
+6
-1
@@ -1,4 +1,9 @@
|
||||
module.exports = `Fast XML Parser 4.0.0
|
||||
import fs from 'fs';
|
||||
import { resolve } from 'path';
|
||||
const packageJsonPath = resolve(process.cwd(), 'package.json');
|
||||
const version = JSON.parse(fs.readFileSync(packageJsonPath).toString()).version;
|
||||
|
||||
export default `Fast XML Parser ${version}
|
||||
----------------
|
||||
$ fxparser [-ns|-a|-c|-v|-V] <filename> [-o outputfile.json]
|
||||
$ cat xmlfile.xml | fxparser [-ns|-a|-c|-v|-V] [-o outputfile.json]
|
||||
|
||||
Reference in New Issue
Block a user