← Back to context

Comment by matt_kantor

3 hours ago

> Simple example: [package.json is JSON]

Why can't you fix this while embracing existing tech? I can imagine monkeypatching Node & NPM to add support for JSONC or JSON5 or whatever in the same way that Nub adds various features via monkeypatching. Is there some architectural reason that can't work?

You'd need `npm publish` to compile it down to plain JSON when publishing, but that seems like an okay compromise.