Trevor I. Lasn
Staff Software Engineer & Engineering Manager
Tartu, Estonia
31 years old
Software engineer with 10+ years of building products. Led engineering teams for 5+ years across tech companies. I have a strong instinct for what makes products work well for users, and I'm committed to maintaining high standards in both product design and code quality.
169 posts, 333,506 views
2025
- NPQ: Open source CLI tool that audits and protects your npm installs from malicious packagesA CLI tool that checks packages for security issues and social engineering attacks before they hit your project2 min readwebdev node.js javascript
- Google's AI distribution advantageWhile everyone debates models and features, Google owns the distribution channels that make AI stick2 min readtech
- How JavaScript Was Written Back In the DayHave you ever been curious how JavaScript was written back in the day? I was, so I dug into some of the early frameworks and libraries to see what I could learn.6 min readjavascript
- Introducing courses.reviewsCutting through the noise of thousands of online courses to find the ones actually worth your time2 min readtech webdev javascript
- JavaScript compile hints: what they are and when to use themV8's compile hints let you control which JavaScript gets compiled immediately during page load3 min readjavascript web performance
- Error.isError(): A Better Way to Check Error Types in JavaScriptWhy the new Error.isError() method solves important cross-realm issues and provides more reliable error identification than instanceof3 min readjavascript
2024
- AsyncLocalStorage: Simplify Context Management in Node.jsHow AsyncLocalStorage solves context management in asynchronous Node.js apps5 min readnode.js
- scrollbar-width & scrollbar-gutter: CSS Properties for Layout ControlPrevent content shifts and refine scrollable UIs with scrollbar-width and scrollbar-gutter3 min readwebdev css
- Add Auth to Astro 5 with Clerk in 5 MinutesThe simplest setup for adding Clerk authentication to your Astro project, with minimal code4 min readwebdev
- CSS ::target-text for Text HighlightingA look at how browsers can highlight text fragments using CSS ::target-text, making text sharing and navigation more user-friendly3 min readwebdev css
- align-content: The Simplest Way to Center Content with CSSFinally, we can center things in block layouts without flexbox gymnastics2 min readwebdev css
- Form Validation That Doesn't Annoy Users: CSS :user-valid and :user-invalidThe new pseudo-classes :user-valid and :user-invalid give us a smarter way to style form validation states based on user interaction3 min readwebdev css