Tag: nodejs

Tips and tricks on sharing global variable values, inject values, capturing variables, and general NodeJS workarounds for if you can't edit a file.

Figuring out why stat is returning blank birthtimes on Unix/Linux and how NodeJS got around this with an update to fs.stat through its libuv dependency.

Automated file timestamp extractor: git-date-extractor NPM package and CLI tool. The tool lets you retrieve file creation and modification dates based on Git history.

Solutions and tips on how to use "created" and "last updated" date and timestamps with Gatsby and Git, including a fully automated approach with git hooks.

A beginner attempt at creating automatic folder directory listing index pages within Gatsby, using createPages, GraphQL, MarkdownRemark and allDirectory.

Some tips on using Fabric.js as a dependency in your project, without requiring that other devs have Cairo installed in order to build.

Reusable Node script that can be passed CLI arguments for a remote file to be downloaded, and optionally integrity checked against a known file hash.

Some simple ways to execute NodeJS code through the command line interface, as well as pipe output in and out.