Latest posts
Today I learned: How to programmatically detect if a Node.js script is called from the command line or being imported
Find out CommonJS and ES modules way to programmatically determine whether your script was called from the CLI or from an import or require statement
Today I learned: How to use throw and try/catch blocks in combination with setTimeout
Find out how to avoid uncaught error when combining catch blocks with setTimeout
Using Orca to Evaluate Web Accessibility
Learn how to use Linux GNOME desktop screen reader to evaluate Web Accessibility
How to mock `console.error` or other `console` methods with Jest
Find out how to make assertions upon `console` method calls
Make your 'Script error.' issues more insightful in Sentry
Quick run down on how to make 'Script error.' issues more insightful in Sentry