0.1.0 • Published 8 years ago

yep v0.1.0

Weekly downloads
16
License
MIT
Repository
github
Last release
8 years ago

yep

A simple HTTP client for node.

Install

npm install yep

Usage

yep({ url: 'http://example.com' })
  .then(res => console.log(res.body))

yep.stream({ url: 'http://example.com' })
  .then(res => res.pipe(fs.createWriteStream('index.html')))

API

  • yep(options)
  • yep.stream(options)

where options has the following keys:

  • url
  • method
  • headers
  • form
  • json
  • proxy

License

MIT

0.1.0

8 years ago

0.0.1

8 years ago

0.0.0

10 years ago