basic middleware concepts in node

2019-11-21

 | 

~2 min read

 | 

347 words

Middleware is software that sits between two other pieces of software and can augment, change, modify, or even respond to data it receives…

rimraf to clean restart a node server

2019-11-20

 | 

~1 min read

 | 

119 words

One of the challenges of using to monitor changes to a node server and restart is if some changes get cached. I came across rimraf in a…

using the node inspector

2019-11-19

 | 

~2 min read

 | 

217 words

If you’re running a node application and you want to debug, but don’t want to use the debugger in your text editor, perhaps your text editor…

converting synchronous code to asynchronous

2019-11-18

 | 

~5 min read

 | 

819 words

I often find myself looking up patterns for converting synchronous code into async variants in Javascript. Whether it’s remembering how…

using typescript playground to make sense of code

2019-11-17

 | 

~1 min read

 | 

162 words

I came across the following function in a codebase today and struggled to see what was happening - the combination of classes with…

Hi there and thanks for reading! My name's Stephen. I live in Chicago with my wife, Kate, and dog, Finn. Want more? See about and get in touch!