top | item 44818378

(no title)

throwitaway1123 | 6 months ago

> I do wonder if this makes the importable gets (via type: json) a reality like assert was going to.

Yes, the JSON modules proposal is finished.

https://github.com/tc39/proposal-json-modules

https://caniuse.com/mdn-javascript_statements_import_import_...

discuss

order

no_wizard|6 months ago

An entire class fetch requests will go away with importable gets. I am excited for this

porridgeraisin|6 months ago

In node you could always require("food.json")