Skip to content

Commit 107e6c8

Browse files
committed
Added xml2json alias
1 parent 9043674 commit 107e6c8

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ It requires Node (4.0.0 or higher) and Npm (2 or higher):
4444
npm install --global x2j-cli
4545
```
4646

47-
This is going to install globally the executable `x2j` which you can use to
48-
convert xml string from the standard input into formatted JSON into the standard
49-
output as shown in the example above.
47+
This is going to install globally the executable `x2j` (and its alias `xml2json`)
48+
which you can use to convert xml string from the standard input into formatted
49+
JSON into the standard output as shown in the example above.
5050

5151

5252
## Contributing

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"name": "x2j-cli",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Node.js command line script to convert xml input into json output (can be piped easily)",
55
"engines": {
66
"node": ">=0.12"
77
},
88
"main": "index.js",
99
"bin": {
10-
"x2j": "./index.js"
10+
"x2j": "./index.js",
11+
"xml2json": "./index.js"
1112
},
1213
"preferGlobal": true,
1314
"scripts": {

0 commit comments

Comments
 (0)