Skip to main content

Father of two, software developer, wannabe solarpunk+minimalist.

twitter.com/kaputse

TypeScript Editor Support · Microsoft/TypeScript Wiki · GitHub

Who would have thought that I would use an MS product ever again, but this thing ist quite niiiiiiice! :)

 

Thanks Bill.

 

TIL: Modules | Node.js v10.2.1 Documentation

This always gave me headaches .... clear case of RTFM ... m)

Modules are cached after the first time they are loaded. This means (among other things) that every call to require('foo') will get exactly the same object returned, if it would resolve to the same file.