Guest User

Untitled

a guest
Apr 20th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. const dbfstream = require('dbfstream')
  2. const fs = require('fs')
  3.  
  4. //------------------------------------------
  5. // Extract pdf to readableStream
  6. //------------------------------------------
  7.  
  8. // if source is already a readableStream, use it, otherwise treat as a filename
  9. let dbf = dbfstream('readableStream', 'Windows-1251');
  10.  
  11. dbf.on('data', (data) => {
  12. console.log(data);
  13. });
Add Comment
Please, Sign In to add comment