Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const dbfstream = require('dbfstream')
- const fs = require('fs')
- //------------------------------------------
- // Extract pdf to readableStream
- //------------------------------------------
- // if source is already a readableStream, use it, otherwise treat as a filename
- let dbf = dbfstream('readableStream', 'Windows-1251');
- dbf.on('data', (data) => {
- console.log(data);
- });
Add Comment
Please, Sign In to add comment