Echo JS 0.11.0

<~>

chris-l comments

chris-l 2412 days ago. link 2 points
> with 0 install

Well, that is somewhat incorrect; unless you already have it installed, npx will download prettier and do a temporal installation.

So, if you DON'T have prettier installed locally on your project or globally, and then you try to execute it with the --no-install flag (so it actually doesn't install anything), like this:

:%! npx -q --no-install prettier

It will fail.

Installing it globally perhaps would be better. Otherwise you are downloading prettier over and over each time you try to format your code (and by not having to download it, the command will be executed faster).
chris-l 2473 days ago. link 2 points
> const does not imply any kind of immutability of the value itself, it only implies immutability of the binding.

So you expected that `const` did the same work as `Object.freeze`?

Since in the post he never mentions Object.freeze, maybe he doesn't know about it?
[more]