Closed ProGM closed 9 years ago
Hi! I added the maxLength option to text extraction. Now you can pass it as option to tika.text(...) in this way:
maxLength
tika.text(...)
options = { maxLength: 15 } tika.text('test/data/file.pdf', options, function(err, text) { console.log(text); // "First 15 charac"... });
I needed it for my project, just sharing :)
Thank you for a very complete pull request! :sparkles: Great work!
Hi! I added the
maxLength
option to text extraction. Now you can pass it as option totika.text(...)
in this way:I needed it for my project, just sharing :)