node-modules / Urllib Sync
sync http request
Stars: ✭ 42
Programming Languages
javascript
184084 projects - #8 most used programming language
urllib-sync
sync http request powered by urllib and spawnSync.
Notice: Only support node v0.11.13+
Installation
$ npm install urllib-sync --save
Usage
var request = require('urllib-sync').request;
var res = request('https://github.com');
// res should have status, data, headers
more options please check out urllib. But unfortunately, urllib-sync
do not support streams and agents now.
writeFile
If options.writeFile
is present, the result of request will write into this file directly.
License
MIT
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].