Skip to content

miyako/rtf-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

platform license downloads

Dependencies and Licensing

  • the source code of this CLI tool is licensed under the MIT license.
  • see librtf for the licensing of librtf (LGPL-2.1).
  • note: librtf is no longer used.

rtf-parser

CLI tool to extract text from RTF

acknowledgements: https://github.com/yanxijian/LibRtf

usage

rtf-parser -i example.rtf -o example.json

 -i path    : document to parse
 -o path    : text output (default=stdout)
 -          : use stdin for input
 -r         : raw text output (default=json)

output (JSON)

{
    "type: "rtf",
    "text": "body"
}

About

CLI tool to extract text from RTF

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published