Code/JavaScript

[Node.js] HTTP client

codens 2020. 8. 24. 18:26

< HTTP client >

https://github.com/sindresorhus/got#comparison



* axios - Promise based HTTP client

https://github.com/axios/axios - 76k

    - v0.20.0-0 , 2020/07

    - 단점 : 진행상황은 (Progress) 브라우저에서만 가능




* got - HTTP request library for Node.js 

https://github.com/sindresorhus/got - 8k

    - v11.5.2 , 2020/08

    - node.js 전용( 브라우저에서 안됨)



* SuperAgent

https://github.com/visionmedia/superagent - 15.3k

    - v6.0.0 , 2020/08

    - 단점 : 진행상황은 (Progress) 파일 처리(업로드, 다운로드) 에서만 가능



* request equest-promise



//---------------------

< Testing Tool >

* puppeteer - 크롬 조종 - Headless Chrome Node.js API 

https://github.com/puppeteer/puppeteer - 64k

    - v5.2.1, 2020/07

    - 동적 페이지도 가능



* Playwright - puppeteer와 비슷하지만 여러 브라우저 지원

https://github.com/microsoft/playwright - 15.6k

    - v1.3.0 , 2020/08



* Nightmare - alternative to Puppeteer  <====

https://github.com/segmentio/nightmare - 18.5k

    - v3.0.2 , 2019/04

    - 세부조정 가능

    - proxy 



* X-ray web scraper.

https://github.com/matthewmueller/x-ray - 5.3k

    - v2.3.4 , 2019/07




//---------------------

< Web Parser >



* cheeriojs / cheerio 

https://github.com/cheeriojs/cheerio - 22.5k

    -  v1.0.0-rc.3 , 2019/04

    - jQuery 방식



* jsdom / jsdom 

https://github.com/jsdom/jsdom - 14.6k

    - v16.2.2 , 2020/03




반응형