http-sync-win
Use shelljs and execSync to get full windows compatability for http-sync
Last updated 11 years ago by forbeslindesay .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install http-sync-win 
SYNC missed versions from official npm registry.

http-sync-win

Use shelljs to get full windows compatability for http-sync

Build Status Dependency Status NPM version

Installation

Add both http-sync and http-sync-win to your optional dependencies:

{
  "optionalDependencies": {
    "http-sync": "0.0.4",
    "http-sync-win": "0.0.4"
  }
}

Usage

To use, simply try and require http-sync and fall back to http-sync-win (which is much less efficient).

var http;
try {
  http = require('http-sync');
} catch (ex) {
  http = require('http-sync-win');
}
// see https://github.com/dhruvbird/http-sync for API

Note that if you are able to install native dependencies and libcurl is available, http-sync will be much kinder to your hard drive and CPU so please use that. Once node v0.12 comes out this library can be updated to use child_process.execSync and will become a much more efficient option.

License

MIT

Current Tags

  • 0.0.7                                ...           latest (11 years ago)

5 Versions

  • 0.0.7                                ...           11 years ago
  • 0.0.6                                ...           11 years ago
  • 0.0.5                                ...           11 years ago
  • 0.0.4                                ...           11 years ago
  • 0.0.1                                ...           11 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE