ruipgil / scraperjs

A complete and versatile web scraper.
MIT License
3.7k stars 188 forks source link

then promise #58

Closed awb99 closed 8 years ago

awb99 commented 8 years ago

I am trying to understand where the 'then' promise comes from. I have used Q in the past; and believe node does not yet support JS6 ?

ruipgil commented 8 years ago

I implement classes that have methods then, which return themselves. Allowing them to be chained.

Look at the code here