tinyhttp
got
Our great sponsors
tinyhttp | got | |
---|---|---|
14 | 16 | |
2,601 | 13,937 | |
0.5% | - | |
7.8 | 6.4 | |
26 days ago | 21 days ago | |
TypeScript | TypeScript | |
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.
tinyhttp
- tinyhttp: 0-legacy, tiny & fast web framework as a replacement of Express
-
Hacktoberfest Conclusion
After this I really hit the ball rolling and was able to find more issues to work on. One thing that I enjoyed was that all of my PRs were drastically different from each other. I worked on correcting documentation for AdonisJS, fixed a HTTP Content-Type Header bug in tiny-http, and then finally even created a short script for users to load up their own local version of the Electron documentation site.
-
Hacktoberfest Week 2 (Pt. 2)
I worked on Issue 360. Essentially, when a user would set the "Content-Type" header before returning the file, the framework would overwrite the "previous" header, with the type that it determined from the files type.
- NRAF(Not Really a Framework) - A zero external dependency framework for WebApps
-
Using tsm as a shebang interpreter in TypeScript
tinyhttp: a modern web framework written in TypeScript. It uses tsm in its documentation examples as a simple way to get users up and running quickly
- Why are you still using express?
- tinyhttp V2 released: Now pure ESM
- tinyhttp V2 released — now with pure ESM
-
Using Redis Pub/Sub with Node.js
The framework I decided to use today was tinyhttp, with an API similar to Express, I don't have a specific reason to use this framework and the example code is easily replicated to other frameworks.
- Show HN: Tinyhttp v2 Released
got
-
Trying to express a return type in generic and an inferred parameter type
I've used got, and my initial approach to this would have been to add a beforeRequest hook to strip a leading slash. I like the idea of handling this at compile time, though my proposed solution below (particularly the error messages) aren't the prettiest.
- What HTTP Library do you use ?? and what the reason?
-
API Client Design Across Languages - Part 2 - Making Requests
Like Python, our Node.js SDK is using a well-known library axios. While it is not quite as ubiquitous as Python's requests, it is very commonly used. For instance, it is used by Auth0 (if you're looking for a different example, Shopify makes use of Got). You can find it configured here. The shared client code takes reqeust and response transform functions for each resource to convert the repsonses to objects.
-
The Only Parts of Fetch API in JavaScript That Will Get You Far In Your Career
The properties/methods are also purposely used as a convention to work with responses in libraries like got, so by knowing Request and Response you will have sort of a "shortcut" in the learning process of open sourced tools.
-
I'm new at Twilio and I'm wondering why I get an error trying to add the got dependency.
Ah, yes, my apologies. I think the cause is that the latest version of got is not compatible with anything below node v14. I do see the error that you do when I have node v12 selected in my function service, but with v14 I'm able to deploy just fine. Do you still see that error when you click "Deploy" with Node v14 and got@latest?
-
Fetch API has landed into Node.js
Is there support for timeouts? It's the main reason I use https://github.com/sindresorhus/got
- Help! Cant use require on module 'got'
-
Got em' ...
Things were working fine, and then my Blazor app started making calls to the server using a library called "Got" (https://github.com/sindresorhus/got)
-
7 Ways to Improve Node.js Performance at Scale
At the moment, axios does not support setting a connection timeout separately from a read timeout, which could be limiting in some scenarios. If you need this functionality, you can try the got library - it allows for separate read and connection timeout specifications.
-
Generate PDF handbook with Docusaurus using GitHub Actions
One of the community plugins we found during that process was signcl/docusaurus-prince-pdf, an npm package leveraging sindresorhus/got to crawl all the documentation and generate a PDF version.
What are some alternatives?
fastify - Fast and low overhead web framework, for Node.js
axios - Promise based HTTP client for the browser and node.js
Express - Fast, unopinionated, minimalist web framework for node.
node-fetch - A light-weight module that brings the Fetch API to Node.js
http-proxy - A full-featured http proxy for node.js
undici - An HTTP/1.1 client, written from scratch for Node.js
request - 🏊🏾 Simplified HTTP request client.
superagent - Ajax for Node.js and browsers (JS HTTP client). Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
Koa - Expressive middleware for node.js using ES2017 async functions