All results for tag: javascript
-
Node.js --prof and --process-prof flags
Understand the Node.js profile flag by improving an inefficient approach to getting unique elements from an array.
-
Explaining CJS vs AMD vs UMD vs ESM
One of the JavaScript ecosystems biggest pain points. What are they and why do library maintainers hurt inside when they have to support them all?
-
Mastering API Testing with Supertest, Express.js, and Jest
A walkthrough on setting up a basic Express.js application and writing tests using Supertest for robust APIs.
-
Using The New Vercel Open Graph Image Generation
Following the release of Satori and Vercel's new open graph image generation, follow along as I demonstrate how I updated my own open graph images for the blog.
-
Generating Fake Data From JSON Schema
Generate fake data to be used in your applications based on a JSON schema document.
-
Next.js Shortened URL Automation
Automate the process of creating shortened URLs for your Next.js posts with this how-to guide.
-
Jest With GitHub Actions
See how to use Jest alongside GitHub Actions run Jest testing in CI.
-
Locking Redis Transactions In Node.js
Avoid dirty reads on highly contended cache resources in Node.js with the Redlock package.
-
Introduction To Caching With Next.js
The beginner's guide to how different forms of server and client caching work with Redis and React Query.
-
Converting The Interim Swyftx Data Structure Into A Valid OpenAPI Format
Following on from the previous post, we will take the interim data structure we scraped from the Apiary documentation website and reshape it into a valid OpenAPI JSON structure.
-
Authenticating Use For The Swyftx API With Node.js
As we begin a new short series on Swyftx, we begin by getting up and running with your API keys and retrieving your profile with a simple Node.js project.
-
Scraping The Swyftx Apiary Docs Into A JSON File With Puppeteer
Using Puppeteer, we scrape the Swyftx API docs from Apiary and convert it into a JSON data structure to use later.
-
Dev Only Next.js Routes
A method to protect your Next.js routes from being accessed in production.
-
Exploring The New Image Component With Next.js
This blog post will explore the new Next.js Image component for an optimised image experience on the web.
-
Deploying Next.js 10 With Vercel CLI and the Vercel GitHub Integration
Learn how to deploy the base Next.js 10 app with the Vercel CLI and/or the Vercel GitHub Integration
-
Exporting Static HTML From A Nextjs 10 Site
Learn how to export static HTML from a Nextjs 10 project to host
-
Self-Destructing Tweets
A look into how you can run a cron job to self-destruct tweets
-
Your First ESLint Rule Applied To Create-React-App
Look at how you can create your first ESLint rule and apply it to a working application
-
Prompting New App Versions With The Service Worker And Create-React-App
Look at how we can work around one of the Service Worker's biggest misunderstanding
-
Creating and using AWS Secrets from the CDK and CLI
A quick overview of adding/retrieving secrets for AWS
-
Error Tracing with ES6 Classes and Sentry
Extend the Error prototype with ES6 classes to capture errors and send them to Sentry
-
Build Your Own Heat Map with D3
A quick look at building a heat map in D3
-
How To Use Your Tailwind Theme Anywhere Throughout Your React App
Use the React Context API with Tailwind's theme generator to access the values anywhere throughout the application