Marcus is a fullstack JS developer. He’s passionate about the hapi framework for Node.js and loves to build web apps and APIs. Creator of Futureflix and the “learn hapi” learning path.

GitHub Actions — How to Add Comments in YAML Files

GitHub Actions are a seamless way to integrate automated tasks into your repository. Sometimes it’s helpful to leave a comment in the action’s YAML file. Yes! Workflow files in GitHub Actions support comments! This tutorial shows you how to add comments to GitHub Actions workflow files. {{outline}} Add …

Continue Reading

Node.js — How to Rename a File

Node.js ships with a file system module allowing you to interact with files on the local hard disk. The file system module fs provides two methods allowing you to rename files: Fs#rename and Fs#renameSync. This tutorial shows you how to rename a file synchronously and asynchronously using …

Continue Reading

Node.js — Check If a Path or File Exists

When interacting with the file system, you may want to check whether a file exists on the hard disk at a given path. Node.js comes with the fs core module allowing you to interact with the hard disk. This tutorial shows you how to use Node.js to determine …

Continue Reading
Page 1 of 49

Explore the Library

Find interesting tutorials and solutions for your problems.