file-type
Detect the file type of a file, stream, or data
textract
Extracting text from files of various type including html, pdf, doc, docx, xls, xlsx, csv, pptx, png, jpg, gif, rtf, text/*, and various open office.
file-type-checker
Detect and validate file types by their signatures (✨magic numbers✨)
devexpress-richedit
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
rtf-parser
This is a general RTF parser. It takes a text stream and produces a document object representing the parsed document. In and of itself, this isn't super useful but it's the building block for other tools to convert RTF into other formats.