Skip to content
This repository was archived by the owner on Aug 14, 2026. It is now read-only.
floatdropPublic archive

About

Promise wrapper around sindresorhus/got

Resources

Stars

8 stars

Watchers

0 watching

Forks

Latest commit

 

History

24 Commits

Folders and files

Repository files navigation

got-promise Build Status

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

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

About

Promise wrapper around sindresorhus/got

Resources

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages