REST client for NodeJS with Typescript
You can use fetch which is on track to becoming a standard. The link is to a polyfil for browsers that don't yet support fetch
.
Type Definitions exist for it as well.
In all honesty it depends on specific requirements.
Request is the gold standard as far as a library goes ( if you need the bells and whistles ). It's a mature and robust library with a thriving ecosystem and a well managed project.
Fetch is well on its' way to becoming the standard for making a rest call
Further reading - Solid list of all things rest on github
The request library is capable of making simple GET
, POST
, PUT
, DELETE
requests. TypeScript definitions are available via DefinitelyTyped.