Socket
Socket
Sign inDemoInstall

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


Version published
Weekly downloads
2.1K
increased by83.25%
Maintainers
1
Weekly downloads
 
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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc