Join Nostr
2026-04-01 10:00:13 UTC

Web Standards on Nostr: Native JSON modules are finally real. Matt Smith explains how import attributes let ...

Native JSON modules are finally real. Matt Smith explains how import attributes let you load JSON files directly with import data from 'data.json' with { type: 'json' }, no bundler required. Browsers and runtimes handle JSON modules natively with explicit type declarations, eliminating build-time transformations and establishing a foundation for future structured module types. #json #js

https://allthingssmitty.com/2026/03/16/native-json-modules-are-finally-real/