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.


TypeScript — Module Augmentation Overwrites Declarations Instead of Merging Them

TypeScript comes with a feature called declaration merging. Declaration merging means that the TypeScript compiler merges two or more separate declarations that use the same name into a single definition. Merging definitions is helpful if you’re extending a contract with custom functionality and want to tell TypeScript about the …

Continue Reading

Node.js — Check if a Path is a File URL

Node.js includes the needed functionality to interact with files on your local hard disk. Typically, you’re referencing files on disk using a file path. This path can have different formats, like a relative or an absolute path or a file URL. With the transition to ECMAScript modules developers …

Continue Reading

Explore the Library

Find interesting tutorials and solutions for your problems.