hattip
helmet
Our great sponsors
hattip | helmet | |
---|---|---|
9 | 18 | |
1,162 | 10,027 | |
4.5% | 0.9% | |
8.1 | 7.3 | |
5 days ago | about 4 hours 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.
hattip
- Hattip – An Express-compatible runtime for Cloudflare, Netflify, Vercel, etc.
-
React Server Components without any frameworks
Let's start up a new project and install these. We will use pnpm, as it is now the best and most loved choice. Also for quick setup, we will use Vite for the client side and HatTip for our backend handler for more convenient readable stream handling.
-
Choosing a backend API framework
HatTip - supports universal middleware and deployments, small & lightweight, seems promising
-
How is everyone working with web frameworks such as Express with TypeScript?
You'll probably like Hattip
-
FileKinds™ Proposal, rules for files and folders
To (optionally?) provide plugins on how a server should handle these files in a server framework like hattip
-
Using cookies
As we discussed before, Rakkas relies on HatTip for handling HTTP so we will use the @hattip/cookie package to manage cookies:
-
Creating a Twitter clone for Cloudflare Workers with Rakkas: Part 1
Then we should install the HatTip adapter for Cloudflare Workers. HatTip is a set of JavaScript libraries for building HTTP server applications that run on many platforms like Node.js, Cloudflare Workers, Vercel, Netlify, Deno, and more. Rakkas relies on it for serverless support.
-
Rakkas 0.6: Bleeding-edge React framework
Rakkas 0.6 is now built on HatTip, an HTTP server library that abstracts away the differences between various JavaScript runtimes building on the web standards like Request, Response, and streams. Rakkas already ran on Node, Vercel Serverless Functions, Netlify Functions, and Cloudflare Workers. HatTip integration adds support for Vercel Edge, and Netlify Edge. There's also preliminary support for Deno (including Deno Deploy). Bun support is work in progress.
-
Bun: Fast JavaScript runtime, transpiler, and NPM client written in Zig
HatTip[1] just added preliminary Bun support[2].
(HatTip's goal is to enable users (and library authors) to write universal server code that runs anywhere: Node.js, Edge, Deno, Bun, ...)
@Jarred: Curious to know what you think of HatTip!
[1]: https://github.com/hattipjs/hattip
helmet
-
🔒Securing Web: A Deep Dive into Content Security Policy (CSP)
helmet
-
More secure Vue & Nuxt apps -> by default! 🛡️
By default, NuxtSecurity will set security response headers to match the values recommended by OWASP and a popular Express.js middleware called helmet.
-
Vulnerability Scanning of Node.js Applications
Utilize security headers and middleware to add another layer of security to your Node.js application. Tools like Helmet.js can help you set secure HTTP headers, while middleware can assist in filtering and sanitizing user inputs.
-
Effective use of middleware in express.js: practical approaches
Documentation Link: helmet
-
Full Stack To Do list, a step-by-step tutorial
Helmet helps “sanitise” the input, which might not have come from the UI directly. Mongoose is what is known as an Object Document Modelling (ODM), which defines a structure (schema) for the stored data, making it easier to manage in Express. These additions have been omitted from our example stack purely to simplify the tutorial and focus on the fundamental tiers and interfaces.
-
typescript and helmet
If you can repro the issue with a minimal tsconfig, with nothing but an import statement then it's probably something the maintainers of helmet would like to see. There's also this (recent) issue I saw looking at their queue -- maybe related? https://github.com/helmetjs/helmet/issues/424 ...
-
How to keep postgres connection open?
// Security // https://helmetjs.github.io/ app.use(helmet())
-
How to use Helmet.js to secure your Node.js Express app
You can learn more about each header and how to configure them in the Helmet documentation.
-
How is everyone working with web frameworks such as Express with TypeScript?
These days I only use middleware if it's global and has no outputs. Helmet comes to mind.
- What are considerations to make a website secure?
What are some alternatives?
bun - A fast all-in-one JavaScript runtime [Moved to: https://github.com/oven-sh/bun]
helmet-reactive-spring-boot-starter
ublog - A Twitter clone running on Cloudflare Workers
javascript-obfuscator - A powerful obfuscator for JavaScript and Node.js
hono - Web Framework built on Web Standards
metlo - Metlo is an open-source API security platform.
hello-rsc - React Server Component capable SSR using Vite
http-proxy-middleware - :zap: The one-liner node.js http-proxy middleware for connect, express, next.js and more
oauth
spring-boot-kotlin-reactive-template - My personal template for a Spring Boot REST reactive webapp
prettier - Prettier is an opinionated code formatter.
spring-boot-kotlin-template - My personal template for a Spring Boot REST webapp