nl_tokens: A helper method used to read a Node . js readable stream into string
pl_tokens: async function streamToString ( readableStream ) { return new Promise ( ( resolve , reject ) => { const chunks = [ ] ; readableStream . on ( "data" , data => { chunks . push ( data . toString ( ) ) ; } ) ; readableStream . on ( "end" , ( ) => { resolve ( chunks . join ( "" ) ) ; } ) ; readableStream . <mask> ( "error" , reject ) ; } ) ; }