-
tsx
Discontinued ⚡️ TypeScript Execute: Node.js enhanced to run TypeScript & ESM [Moved to: https://github.com/privatenumber/tsx] (by esbuild-kit)
Install sharp and tsx (we will need it to run the script):
-
Kargo
Stop Scripting Promotions. Start Shipping with Kargo. Kargo automates promotion across dev, staging, and prod with approval gates and verification. Open source, built by the team behind Argo CD. Download now.
-
View on GitHub
-
If you need help with setting up the project, I recommend that you follow this guide from Yarn documentation.
-
sharp
High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.
When sharing content on social media platforms, it's essential to have visually appealing images that are properly sized. Let’s explore how we could automatically resize images for Open Graph and Twitter card previews. We’ll be using sharp - a powerful and fast tool that powers the Image component from Next.js.