Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/naftalimurgor/nodejs-fetch
https://github.com/naftalimurgor/nodejs-fetch
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/naftalimurgor/nodejs-fetch
- Owner: naftalimurgor
- License: mit
- Created: 2022-06-29T10:33:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-08T10:32:01.000Z (about 2 years ago)
- Last Synced: 2023-03-10T07:06:33.741Z (over 1 year ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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()
```