-
tsx
Discontinued ⚡️ TypeScript Execute: Node.js enhanced to run TypeScript & ESM [Moved to: https://github.com/privatenumber/tsx] (by esbuild-kit)
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
sharp
High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.
Install sharp and tsx (we will need it to run the script):
View on GitHub
If you need help with setting up the project, I recommend that you follow this guide from Yarn documentation.
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.