0.0.3 • Published 10 months ago

@mtillmann/chapconv v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

chapconv

Convert chapters between different formats. See @mtillmann/chapters for details on the supported formats.

Installation

npm install -g @mtillmann/chapconv
# then use
chapconv --help

or use the npx command to run the tool without installation:

npx @mtillmann/chapconv@latest --help

convert

{convert-usage}```

## detect

{detect-usage}`

reading and writing

chapconv convert < input.xml > output.json
# or
chapconv convert -o output.json < input.xml
# or
cat input.xml | chapconv convert > output.json
# or
cat input.xml | chapconv convert -o output.json
# or
chapconv convert -i input.xml > output.json
# or
chapconv convert -i input.xml -o output.json