0.0.3 • Published 10 months ago
@mtillmann/chapconv v0.0.3
chapconv
Convert chapters between different formats. See @mtillmann/chapters for details on the supported formats.
Installation
npm install -g @mtillmann/chapconv
# then use
chapconv --helpor use the npx command to run the tool without installation:
npx @mtillmann/chapconv@latest --helpconvert
{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