Got: Migration guides

Created on 11 Aug 2018  ·  6Comments  ·  Source: sindresorhus/got

Would be useful to have some examples of how to move from request, axios, node-fetch to got. We could first show a real world axios usage example and then how it would look like with got.

documentation ✭ help wanted ✭

Most helpful comment

Better yet, a codemod 😸

All 6 comments

Better yet, a codemod 😸

@pgilad That would be really cool indeed, but could probably only handle the simplest of cases.

@sindresorhus It would be also useful to write documentation for beginners who have started with got instead of the other libraries.

Currently, got documentation rely on external libraries knowledge too much IMHO.

@DRSDavidSoft Yeah, I agree, would be nice with a comprehensive beginner guide. I would guess most beginners don't just need an intro to Got, but also Node.js and HTTP in general.

@sindresorhus 👍 True, but you don't need to worry about guides for Node.js, Promises and HTTP mechanics -- since they're mostly covered pretty well outside the got docs.

got itself, however, could benefit from better documentation for beginners who choose to start with it.

@DRSDavidSoft Anything specific?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

joolfe picture joolfe  ·  3Comments

f-mer picture f-mer  ·  4Comments

AxelTerizaki picture AxelTerizaki  ·  3Comments

quocnguyen picture quocnguyen  ·  4Comments

framerate picture framerate  ·  4Comments