Set up local Supabase OAuth logins While it's easy to set up Supabase OAuth logins in the cloud product, setting it up for a local development environment is a bit tricky. Nicholas C. Zakas August 27, 2025 • 4 min read JavaScriptSupabaseOAuth
Run multiple Cloudflare workers locally Wrangler is made primarily to run one worker at a time. You can also use it to run all of your workers at the same time. Nicholas C. Zakas August 22, 2025 • 3 min read JavaScriptCloudflareEdge Workers
Passing GitHub Actions workflow step output to JavaScript When you want your JavaScript code to access all of the data from a previous GitHub Actions workflow step. Nicholas C. Zakas February 21, 2025 • 2 min read JavaScriptGitHubGitHub Actions
Publishing to JSR using release-please With a little work, you can use release-please and GitHub Actions to publish to JSR. Nicholas C. Zakas March 19, 2024 • 2 min read JavaScriptTypeScriptnpm
How to add npm packages for client-side use in Eleventy It's not immediately obvious how to use npm packages in an Eleventy website front end. Here's how to do it. Nicholas C. Zakas February 17, 2022 • 1 min read EleventyStatic Site GeneratorsJavaScript
Create TypeScript declarations from JavaScript and JSDoc Even if you don't write your code in TypeScript you can still generate .d.ts files to provide more information to developer tools. Nicholas C. Zakas October 15, 2020 • 2 min read JavaScriptTypeScriptJSDoc
How to read environment variables in Deno using JavaScript Deno's API for accessing environment variables is different than Node.js's API. Nicholas C. Zakas October 9, 2020 • 1 min read DenoEnvironment VariablesJavaScript
How to optionally await a JavaScript function call By inspecting the return value first, you can determine whether or not to await. Nicholas C. Zakas February 22, 2020 • 1 min read JavaScriptPromisesAsync Functions
Setting up Visual Studio Code intellisense for Jest globals VS Code can't automatically find Jest globals for intellisense, but you can change that. Nicholas C. Zakas May 28, 2019 • 1 min read JavaScriptTestingJest
Reading streams with promises in Node.js The fs.promises API doesn't provide a way to read streams in Node.js. Here's how to do it. Nicholas C. Zakas May 13, 2019 • 2 min read JavaScriptNode.jsPromises
Flattening a JavaScript array with a generator Generators make traversing multidimensional arrays easy. Nicholas C. Zakas February 9, 2019 • 1 min read JavaScriptGeneratorsArrays
Posting to Medium using Node.js and fetch() A workaround for the unsupported Node.js Medium SDK. Nicholas C. Zakas January 5, 2019 • 1 min read JavaScriptFetchNode.js