tinyhttp
Redis
Our great sponsors
tinyhttp | Redis | |
---|---|---|
14 | 14 | |
2,601 | 13,867 | |
0.5% | 7.2% | |
7.8 | 3.4 | |
26 days ago | 12 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
Redis
- Is `ioredis` still actively maintained?
-
Crafting A Minimalist Portfolio Website with SvelteKit and Pico CSS
To make data retrieval efficient and minimize the need to request data from the API on every page load, I implemented a caching strategy using the ioredis package, which is a popular redis client for Node.js for interacting with a Redis database.
-
10 Powerful Node.js Libraries Every Developer Should Know About
5. ioredis
-
Unable to properly connect to Redis in Kubernetes
These are the objects I pass to ioredis to create my Redis instances (one for sessions and one as the main one):
-
Help implementing Heroku Data For Redis (+bull & throng) / `ioredis`
In order to try and mitigate the OOMs. I read the Background Jobs in Node.JS with Redis blog post and implemented Heroku Data For Redis with ioredis, BullMQ and Throng,
-
Message Queue in Redis, Part 2
Redis.Redis and Redis.Cluster at the end of the rule actually refer to the ioredis constructors, so to set them up, we must use the ioredis constructors.
-
MOVED error with Redis cluster
ioredis is a popular Node.js client, providing a robust support for Redis Cluster.
-
How to use Redis Cluster for caching
To connect to Redis from your application, you will need a library that can perform that for you (Otherwise you have to reinvent the wheel). While I've been using IORedis for a nodeJS application in this demo, if you have been using a different language, you will have to look for different connectors like Lettuce for Java or perhaps go-redis for Go.
-
Using Redis Pub/Sub with Node.js
The Redis client I'm going to use today is ioredis, because its API is intuitive, very robust and with good performance.
-
Redis configuration in nestjs
Just create your own wrapper service around one of the existing nodejs redis clients, I used the following client https://github.com/luin/ioredis
What are some alternatives?
fastify - Fast and low overhead web framework, for Node.js
Redis - Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.
Express - Fast, unopinionated, minimalist web framework for node.
node-redis - A high-performance Node.js Redis client. [Moved to: https://github.com/redis/node-redis]
http-proxy - A full-featured http proxy for node.js
Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB
request - 🏊🏾 Simplified HTTP request client.
bull - Premium Queue package for handling distributed jobs and messages in NodeJS.
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
MongoDB - The official MongoDB Node.js driver
Koa - Expressive middleware for node.js using ES2017 async functions
uuid - Generate RFC-compliant UUIDs in JavaScript