|4 days ago||9 days ago|
|MIT License||MIT License|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Написал парсер сайта на Node.js
2 projects | dev.to | 8 Jan 2022
ERROR LOADING PLUGIN
1 project | reddit.com/r/homebridge | 19 Dec 2021
My reading of the [npm doco](https://github.com/npm/node-semver#caret-ranges-123-025-004) on `^` vs `>=` is that`^2.6.6` will restrict it to ONLY being that specific version. This will work because homebridge is currently incompatible with ESM (whatever that is), and (presumably) the latest version of [node-fetch](https://www.npmjs.com/package/node-fetch), v3.1.0 is ESM... So restricting to 2.6.6 !=ESM. Is that correct?
Lichess + Nodejs
2 projects | reddit.com/r/reactjs | 17 Dec 2021
You just need to learn how to send "http requests" using the fetch API in order to use them. See here to learn more: https://github.com/node-fetch/node-fetch
Dependency injection in React
4 projects | dev.to | 6 Dec 2021
Now, in a Node environment, we can use node-fetch in conjunction with our ping function, like so:
Fetch promist reject reasons
3 projects | reddit.com/r/webdev | 24 Nov 2021
I lost like three hours on this stupid issue getting tests to work: https://github.com/node-fetch/node-fetch/issues/1367
Gatsby Build Error
1 project | reddit.com/r/gatsbyjs | 19 Oct 2021
You may need something like node-fetch https://www.npmjs.com/package/node-fetch
Best HTTP request library that works on both Deno and Node.js?
2 projects | reddit.com/r/Deno | 2 Oct 2021
Best language to learn quickly/easily to interact with an API?
2 projects | reddit.com/r/AskProgramming | 1 Oct 2021
It's a community splitting decision, like Python 3 vs 2.7, which has been an on-going battle for over a decade, I wouldn't be surprised to see the same happen here unless changes are made.
2 projects | reddit.com/r/programmingcirclejerk | 16 Sep 2021
Why do some variables write to my database (MySQL) while others don't?
You will observe the "fetch is undefined" error. You can look into node-fetch from there.
Mocking With Undici Like a Pro
2 projects | dev.to | 14 Jan 2022
Because Undici re-invents HTTP primitives and relies directly on sockets, our established mocking approaches like Nock no longer work. Luckily, Undici comes with its own built-in mocks, so we can still write unit tests against it. This post goes into detail into Undici’s mocking support, walking you through specific use-cases and examples.
Mock server with React Native
1 project | reddit.com/r/reactnative | 27 Sep 2021
nock lets you mock out a domain, and then individual endpoints along with fake responses. You can then assert that all the requests were made as expected.
[Question] Actix-web : Testing a server route that relies on an external service
2 projects | reddit.com/r/rust | 5 Apr 2021
a big part of making rust awesome is for us as a community to massively steal ideas from other older languages. for this extremely common use case, we could benefit massively from a ripoff of nock https://github.com/nock/nock#usage to simply fake http responses. there is almost surely already something like this on crates.io...that's a good place to start.
5 projects | dev.to | 16 Mar 2021
nock, through stubbing http/https modules
What are some alternatives?
axios - Promise based HTTP client for the browser and node.js
request - 🏊🏾 Simplified HTTP request client.
got - 🌐 Human-friendly and powerful HTTP request library for Node.js
superagent - Ajax for Node.js and browsers (JS HTTP client)
isomorphic-fetch - Isomorphic WHATWG Fetch API, for Node & Browserify
http-proxy - A full-featured http proxy for node.js
Express - Fast, unopinionated, minimalist web framework for node.
msw - Seamless REST/GraphQL API mocking library for browser and Node.js.
nodejs-httpp - Run HTTP over UDP with Node.js