erinyes
v1.0.14
Published
Convert any file into text for your LLM applications
Downloads
5
Maintainers
Readme
Erinyes
Erinyes is a tool for converting any file into text format.
Media Types
- [x] Text
- [x] Image
- [x] Audio
- [x] Video
- [ ] Code
Supported
- [x] TXT
- [x] CSV
- [x] JSON
- [x] MD
- [x] PDF
- [x] EPUB
- [ ] DOC
- [x] DOCX
- [ ] PPT
- [x] PPTX
- [x] XLS
- [x] XLSX
- [x] HTML
- [x] XML
- [x] PNG
- [x] JPG
- [x] JPEG
- [ ] HEIC
- [ ] GIF
- [x] MP3
- [x] M4A
- [x] WAV
- [x] MP4
Installation
npm i -S erinyes
Usage
import {getText} from 'erinyes';
let text: string;
text = await getText('report.docx');
text = await getText('paper.pdf');
text = await getText('paper.pdf');
text = await getText('display.png');
text = await getText('recording.mp3');