Blog
Dev
Product Management
UX Design
Podcast
Features
Solutions
Solve User-Reported Issues
Find Issues Faster
Optimize Conversion and Adoption
Sign In
Start monitoring for free
Sam Thorogood
•
https://whistlr.info
Sam is a former Googler, now CTO of the Australian energy startup Gridcognition, with an interest in all things web.
1 Stories by
Sam Thorogood
Alternatives to __dirname in Node.js with ES modules
Bring Node inline with ESM using the __dirname and __filename variables that allow you to import source files outside of your code.
Loading Comments...
Write a Comment...
Email (Required)
Name (Required)
Website