5.0.0 • Published 9 years ago

got-promise v5.0.0

Weekly downloads
510
License
MIT
Repository
github
Last release
9 years ago

got-promise Build Status

Deprecated: Use got directly, since it now have Promise API :tada:.

Install

$ npm install --save got-promise

Usage

var got = require('got-promise');

got('google.com')
	.then(function (res) {
		console.log(res.body);
	})
	.catch(function (err) {
		console.error(err);
		console.log(err.response.body);
	});

got.post('google.com'); // => Promise

API

Look at sindresorhus/got.

License

MIT © Vsevolod Strukchinsky

5.0.0

9 years ago

4.1.0

9 years ago

4.0.0

9 years ago

3.0.1

9 years ago

2.1.3

9 years ago

3.0.0

9 years ago

2.1.2

9 years ago

2.1.1

9 years ago

2.0.0

9 years ago

1.0.0

9 years ago