#parser #rich-text #text-format #tokenizer #document #text-file #rtf

rtf-grimoire

A Rich Text File (RTF) document tokenizer. Useful for writing RTF parsers.

4 releases

0.2.1 Apr 10, 2023
0.2.0 Feb 6, 2023
0.1.1 Feb 25, 2019
0.1.0 Feb 24, 2019

#2099 in Parser implementations

Download history 17/week @ 2024-07-24 24/week @ 2024-07-31 23/week @ 2024-08-07 25/week @ 2024-08-14 44/week @ 2024-08-21 105/week @ 2024-08-28 57/week @ 2024-09-04 23/week @ 2024-09-11 31/week @ 2024-09-18 57/week @ 2024-09-25 65/week @ 2024-10-02 38/week @ 2024-10-09 79/week @ 2024-10-16 199/week @ 2024-10-23 72/week @ 2024-10-30 131/week @ 2024-11-06

488 downloads per month
Used in panduck-core

MIT license

1MB
786 lines

rtf-grimoire

rtf-grimoire is a Rich Text Format (RTF) document tokenizer, intended to enable the creation of full RTF parsers.

It was written based on the RTF Specification, which unfortunately comes under an unfriendly license that doesn't allow redistribution, but may be freely downloaded from Microsoft.

An example parser based on rtf-grimoire may be found on [my github] (https://github.com/compenguy/rtf2text). It has been tested with a wide range of rtf files from a variety of text editors with great success so far.

Dependencies