Automatically generate TypeScript type definitions from a Contentful schema, and then override for front-end adjustments.
Take raw JSON output from the Notion API and transform it into properties that can be used by your website’s pages and components.
Write a Node.js script that connects to a Notion database and writes its page and block content to a local JSON file.
Build a simple Slack app that sends one-way messages to a channel using a Node script.
Next.js ships with these two incredibly useful utility components. You can further abstract these to clean up your code.
Components often need to use styling based on property combinations. There are a number of ways to solve this, but only one I’ve found to be the cleanest.
A tutorial that walks through the process of writing a Node.js script to recursively test for broken links on a website.
With its large collection of (free) professional imagery and easy-to-use developer API, Unsplash is a great tool for generating contextual placeholder images for your application.
As your 11ty application evolves, you’ll want more organization with your JavaScript. Here’s a method for bundling together using esbuild.
When using raw JavaScript with 11ty, there are multiple approaches you can take for binding events, all without complicating the JavaScript you’re using.