Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/naftalimurgor/nodejs-fetch


https://github.com/naftalimurgor/nodejs-fetch

Last synced: 26 days ago
JSON representation

Awesome Lists containing this project

README

        

# The nodejs Fetch API
Code snippet example for `Fetch` api introduced in `Nodejs` [v17.5.0](https://nodejs.org/en/blog/release/v17.5.0/) as an experimental feature and later fully supported on the [v18.0.0](https://nodejs.org/en/blog/release/v18.0.0/) release.

Example usage in code snippet:

```javascript
const response = await fetch(`https://jsonplaceholder.typicode.com/todos/1'`)
const todos = await response.json()
```