Learn about the ways to read and import JSON files in Node.js ECMAscript modules (ESM).
Heyo, I'm Stefan!
I write, speak and stream about web technology.
Topics I write about
- Newsletter (117)
- JavaScript (110)
- CSS (84)
- Tools (52)
- HTML (39)
- Bash (38)
- NodeJS (33)
- Accessibility (26)
- Web (20)
- git (18)
- Performance (18)
- macOS (14)
- VSCode (14)
- Contentful (9)
- Productivity (9)
- RegularExpressions (9)
- Unicode (9)
- Serverless (7)
- StaticSites (7)
- SVG (7)
- HTTP (6)
- GraphQL (5)
- PWA (4)
- APIs (2)
- Electron (2)
- Random (2)
- React (2)
- SEO (2)
- Testing (2)
- TypeScript (2)
- Computer Science (1)
- Eleventy (1)
- Public Speaking (1)
- Swift (1)
Popular blog posts
Override and enforce dependency versions using npm "overrides".
Intl
enables you to split strings into meaningful parts such as words, sentences and graphemes..Segmenter Node.js' top-level await feature is available in ES modules. Find out about three ways to enable it and untangle your code.
Use CSS grid to animate an element's height from
0
toauto
.
What's new?
- How to fail function calls with undefined arguments with a one-liner (sorta)
- Web Weekly #90
- Why doesn't JSON support comments?
- A CSS-based background grid generator
- How to disable Google sign-in prompts on other sites
Last screencast

Latest talk

Latest fun project
