0.1.0 • Published 9 years ago
yep v0.1.0
yep
A simple HTTP client for node.
Install
npm install yepUsage
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:
urlmethodheadersformjsonproxy
License
MIT