nl_tokens: / * istanbul ignore next
pl_tokens: function download ( url ) { var req = request . get ( url ) ; // When we receive the response req . on ( 'response' , ( res ) => { // Parse out the length of the incoming bundle var contentLength = parseInt ( res . headers [ 'content-length' ] , 10 ) ; // Create a new progress bar var bar = <mask> Progress ( '     [:bar] :percent :etas remaining' , { clear : true , complete : '=' , incomplete : ' ' , width : 20 , total : contentLength } ) ; // When we get incoming data, update the progress bar res . on ( 'data' , ( chunk ) => { bar . tick ( chunk . length ) ; } ) ; } ) ; return req ; }