🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

urllib-sync

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

urllib-sync

sync http request

latest
Source
npmnpm
Version
1.1.4
Version published
Maintainers
1
Created
Source

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

Keywords

http

FAQs

Package last updated on 19 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts