News for hackers. Stuff that matters.
Re:NPM and NodeJS should do more to make ES Modules easy to use by jmondi on Thursday June 20, 2024 @09:39AM (#40738677)
I have mixed feelings about the JSR requirement for explicit typing. Other than that, it is pretty great!
Re:NPM and NodeJS should do more to make ES Modules easy to use by catapart on Thursday June 20, 2024 @09:45AM (#40738722)
Hm? This is news to me. As far as I know, you can just publish pure javascript. I know that it's going to give you a worse 'score' if you don't have types, and it may require explicit typing of TS (but, strictly, so does TS), but I wasn't aware that there was not any way to publish to JSR without types. I'll have to look in to that, thanks!
Re:NPM and NodeJS should do more to make ES Modules easy to use by FractalHQ on Friday June 21, 2024 @02:18PM (#40752217)
This is the best feature imo. Never again will my time be drained by someone else’s failure to type their spaghetti.