{"id":16844308,"url":"https://github.com/mlewand/rtf-parse","last_synced_at":"2025-10-24T19:45:15.229Z","repository":{"id":80032360,"uuid":"80567564","full_name":"mlewand/rtf-parse","owner":"mlewand","description":"A simplified RTF parser.","archived":false,"fork":false,"pushed_at":"2019-10-31T11:12:18.000Z","size":2177,"stargazers_count":11,"open_issues_count":7,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-14T07:14:14.519Z","etag":null,"topics":["node","nodejs","parser","rtf"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mlewand.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-31T22:10:28.000Z","updated_at":"2022-06-16T05:53:22.000Z","dependencies_parsed_at":"2023-06-26T00:21:20.826Z","dependency_job_id":null,"html_url":"https://github.com/mlewand/rtf-parse","commit_stats":{"total_commits":116,"total_committers":1,"mean_commits":116.0,"dds":0.0,"last_synced_commit":"66d997465122468ae0660d2d6cd05f03e2a7cc3a"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlewand%2Frtf-parse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlewand%2Frtf-parse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlewand%2Frtf-parse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlewand%2Frtf-parse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlewand","download_url":"https://codeload.github.com/mlewand/rtf-parse/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245122881,"owners_count":20564399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["node","nodejs","parser","rtf"],"created_at":"2024-10-13T12:55:19.406Z","updated_at":"2025-10-24T19:45:15.150Z","avatar_url":"https://github.com/mlewand.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rtf-parse\n\n[![GitHub version](https://badge.fury.io/gh/mlewand%2Frtf-parse.svg)](https://badge.fury.io/gh/mlewand%2Frtf-parse)\n[![Build status](https://ci.appveyor.com/api/projects/status/7xq8eq2lil4g2t8j?svg=true\u0026passingText=master%20%E2%9C%93)](https://ci.appveyor.com/project/mlewand/rtf-parse)\n[![Build Status](https://travis-ci.org/mlewand/rtf-parse.svg?branch=master)](https://travis-ci.org/mlewand/rtf-parse)\n[![codecov](https://codecov.io/gh/mlewand/rtf-parse/branch/master/graph/badge.svg)](https://codecov.io/gh/mlewand/rtf-parse)\n[![Dependency Status](https://david-dm.org/mlewand/rtf-parse/status.svg)](https://david-dm.org/mlewand/rtf-parse)\n[![GitHub issues](https://img.shields.io/github/issues/mlewand/rtf-parse.svg)](https://github.com/mlewand/rtf-parse/issues)\n[![GitHub closed issues](https://img.shields.io/github/issues-closed/mlewand/rtf-parse.svg)](https://github.com/mlewand/rtf-parse/issues)\n\n\u003e A simplified RTF parser.\n\n## Installation\n\n```sh\n$ npm install --save rtf-parse\n```\n\n## Usage examples\n\n```javascript\nconst rtfParse = require( 'rtf-parse' ),\n\tpath = require( 'path' );\n\nrtfParse.parseFile( path.join( '_fixtures', 'rtfSimple.rtf' ) )\n\t.then( doc =\u003e {\n\t\t// Do anything you like with rtf.model.Document instance of your document.\n\t} );\n```\n\n```javascript\nconst rtfParse = require( 'rtf-parse' );\n\nrtfParse.parseString( '{\\\\rtf1 foobar}' )\n\t.then( doc =\u003e {\n\t\t// Do anything you like with rtf.model.Document instance of your document.\n\t} );\n```\n\nYou can find more usage examples in [examples](examples) directory.\n\nAlso you could also browse tests to see how the API is used.\n\n## Contribute\n\nThis is fully open source pet project, if you feel you're in a mood for a pull request, you're more than welcome to do so!\n\n### Getting In Touch\n\nYou can always ping me at Twitter [@m_lewand](https://twitter.com/m_lewand).\n\n## License\n\nMIT © Marek Lewandowski\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlewand%2Frtf-parse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlewand%2Frtf-parse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlewand%2Frtf-parse/lists"}