---
title: "Nicholas Zakas (@humanwhocodes) | Hashnode"
description: "People, programming, and everything in between. Read the latest articles by Nicholas Zakas on Hashnode."
url: "https://hashnode.com/@humanwhocodes"
---

@humanwhocodes

# Nicholas Zakas

@humanwhocodes · Joined September 2020

People, programming, and everything in between

[Website](https://humanwhocodes.com/)

### [Introducing Env: A better way to read environment variables in JavaScript](https://hashnode.humanwhocodes.com/introducing-env-a-better-way-to-read-environment-variables-in-javascript?utm_source=hashnode&utm_medium=feed)

This post originally appeared on the Human Who Codes blog on February 16, 2021. If you write server-side JavaScript, chances are you've need to read information from environment variables. It's considered a best practice to share sensitive informatio...

9 min read · [hashnode.humanwhocodes.com](https://hashnode.humanwhocodes.com/introducing-env-a-better-way-to-read-environment-variables-in-javascript?utm_source=hashnode&utm_medium=feed)

[Feb 16, 2021](https://hashnode.com/posts/introducing-env-a-better-way-to-read-environment-variables-in-javascript/6047d1d3c64c63545921c8f8)

### [Creating a JavaScript promise from scratch, part 7: Unhandled promise rejections](https://hashnode.humanwhocodes.com/creating-a-javascript-promise-from-scratch-part-7-unhandled-promise-rejections?utm_source=hashnode&utm_medium=feed)

This post originally appeared on the Human Who Codes blog on January 19, 2021. When promises were introduced in ECMAScript 2015, they had an interesting flaw: if a promise didn't have a rejection handler and was later rejected, you would have no idea...

29 min read · [hashnode.humanwhocodes.com](https://hashnode.humanwhocodes.com/creating-a-javascript-promise-from-scratch-part-7-unhandled-promise-rejections?utm_source=hashnode&utm_medium=feed)

[Jan 19, 2021](https://hashnode.com/posts/creating-a-javascript-promise-from-scratch-part-7-unhandled-promise-rejections/6025bff3c6d91052dafe9156)

### [Creating a JavaScript promise from scratch, Part 6: Promise.all() and Promise.allSettled()](https://hashnode.humanwhocodes.com/creating-a-javascript-promise-from-scratch-part-6-promiseall-and-promiseallsettled?utm_source=hashnode&utm_medium=feed)

This post originally appeared on the Human Who Codes blog on December 16, 2020. In my last post, I walked you through the creation of the Promice.race() and Promise.any() methods, both of which work on multiple promises and return a single promise th...

17 min read · [hashnode.humanwhocodes.com](https://hashnode.humanwhocodes.com/creating-a-javascript-promise-from-scratch-part-6-promiseall-and-promiseallsettled?utm_source=hashnode&utm_medium=feed)

[Dec 16, 2020](https://hashnode.com/posts/creating-a-javascript-promise-from-scratch-part-6-promiseall-and-promiseallsettled/600757f7b2c54030097c4cd5)

### [Creating a JavaScript promise from scratch, Part 4: Promise.resolve() and Promise.reject()](https://hashnode.humanwhocodes.com/creating-a-javascript-promise-from-scratch-part-4-promiseresolve-and-promisereject?utm_source=hashnode&utm_medium=feed)

This post originally appeared on the Human Who Codes blog on October 13, 2020. When you create a promise with the Promise constructor, you're creating an unsettled promise, meaning the promise state is pending until either the resolve or reject funct...

8 min read · [hashnode.humanwhocodes.com](https://hashnode.humanwhocodes.com/creating-a-javascript-promise-from-scratch-part-4-promiseresolve-and-promisereject?utm_source=hashnode&utm_medium=feed)

[Oct 13, 2020](https://hashnode.com/posts/creating-a-javascript-promise-from-scratch-part-4-promiseresolve-and-promisereject/5f90a6dac626a0545fb607ca)

### [Creating a JavaScript promise from scratch, Part 3: then(), catch(), and finally()](https://hashnode.humanwhocodes.com/creating-a-javascript-promise-from-scratch-part-3-then-catch-and-finally?utm_source=hashnode&utm_medium=feed)

This post originally appeared on the Human Who Codes blog on October 6, 2020. In my first post of this series, I explained how the Promise constructor works by recreating it as the Pledge constructor. In the second post in this series, I explained ho...

30 min read · [hashnode.humanwhocodes.com](https://hashnode.humanwhocodes.com/creating-a-javascript-promise-from-scratch-part-3-then-catch-and-finally?utm_source=hashnode&utm_medium=feed)

[Oct 6, 2020](https://hashnode.com/posts/creating-a-javascript-promise-from-scratch-part-3-then-catch-and-finally/5f85dc964f98e64389435ba5)
