Tag: nodejs

An introductory guide to the different parts of Google Lighthouse, how to use it via CLI and NodeJS, and strategies for customizing its configuration.

Approaches for using CSURF for CSRF protection, but only on certain routes, and some with the ability to extract the generated token from the request.

CLI and module for packing files into directories or archives, based on ignorelist files and glob patterns. Built with TypeScript and NodeJS, and highly configurable.

NodeJS-powered automation that extracts all the tutorial docs out of the Svelte repo and combines them into a single formatted HTML document.

A short guide on how to get and use local binary paths for packages installed through NPM or Yarn, under node_modules, for multiple OSes.

How to launch a shell with NodeJS, keep it open, and pipe commands in while capturing output. Also, a discussion on how this impacts performance.

How to disable Chrome's default stdout log messages that come through Selenium Webdriver on NodeJS, such as the "DevTools listening on ws..." message.

CLI and module tool - static-build-cache package - built to help avoid redundant builds for static website projects.

How and why to use OS temporary directories to create files outside your source code directory for scripted tests.

Simple NPM script for detecting whether your code is executing inside of Glitch or not. Detects based on environmental variables and/or hosting info.