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.


Sttp — an Elegant Axios Wrapper

We recently published a new package called Sttp. Sttp is an enjoyable HTTP client providing a fluent interface to seamlessly compose your HTTP requests. This post provides a brief overview of why Sttp exists and why you should choose it over Axios. {{outline}} What is Sttp? Sttp is an HTTP …

Continue Reading

How to Base64 Encode/Decode a Value in Node.js

Base64 is a binary-to-text encoding scheme used to transport data. The encoding is necessary when the transfer medium is not able to handle binary data. This binary data is then translated to a text representation (base64) and transferred as text. This tutorial shows you how to base64-encode and -decode a …

Continue Reading

Overview of Promise-Based APIs in Node.js

Node.js introduced async/await as a language feature in version 8.0.0. With async/await the development flow changed to use promises instead of callbacks. Since then, the Node.js team added promise-based APIs to Node’s core. I’m continuously updating this overview of promise-based APIs in …

Continue Reading

Explore the Library

Find interesting tutorials and solutions for your problems.