#import-attributes

[ follow ]
#json-modules
fromAllthingssmitty
10 hours ago
Node JS

Native JSON modules are finally real - Matt Smith

Import attributes enable native JSON module support in JavaScript, eliminating the need for bundler transforms by allowing explicit type declaration with the `with { type: "json" }` syntax.
fromInfoQ
8 months ago
Node JS

JSON Modules Can Now Be Imported in JavaScript in All Modern Browsers, CSS Modules to Follow

JSON modules are now supported in all modern browsers, simplifying import in JavaScript code.
Node JS
fromAllthingssmitty
10 hours ago

Native JSON modules are finally real - Matt Smith

Import attributes enable native JSON module support in JavaScript, eliminating the need for bundler transforms by allowing explicit type declaration with the `with { type: "json" }` syntax.
fromInfoQ
8 months ago
Node JS

JSON Modules Can Now Be Imported in JavaScript in All Modern Browsers, CSS Modules to Follow

from2ality
8 months ago

Ecma International approves ECMAScript 2025: What's new?

ECMAScript 2025 introduces major enhancements, including import attributes for JSON modules and new iterator methods, improving the efficiency and usability of iterables.
JavaScript
[ Load more ]