Marcus

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.


Node.js — Check If a Path Is a File

When interacting with the local hard disk, you may need to check whether an existing path is a file or a directory. Node.js comes with the fs core module providing dozens of useful low-level methods to interact with the hard disk. This tutorial shows you how to compose an …

Continue Reading

Node.js — Check If a Path Is a Directory

You may want to determine whether a given path is a directory when working with the file system in Node.js. Node.js comes with the fs core module allowing you to interact with the local hard disk. This tutorial shows you how to combine existing fs methods to determine …

Continue Reading

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

Explore the Library

Find interesting tutorials and solutions for your problems.