urllib-sync-maintained

1.1.4 • Public • Published

urllib-sync

NPM version build status Test coverage David deps node version Gittip

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

Readme

Keywords

Package Sidebar

Install

npm i urllib-sync-maintained

Weekly Downloads

0

Version

1.1.4

License

MIT

Unpacked Size

9.09 kB

Total Files

11

Last publish

Collaborators

  • tidic