dprint / dprint

Pluggable and configurable code formatting platform written in Rust.

Home Page:https://dprint.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm package's post-install should copy binary to node_modules/.bin folder?

dsherret opened this issue · comments

Should the post install script move the dprint binary to node_modules/.bin (and delete the other dprint files created there by npm, though what if someone uses the same folder on windows and then in wsl/git bash or whatever)? It would improve the startup performance by about 30ms for npm users.

What about if someone does npm install -g dprint?