npm package's post-install should copy binary to node_modules/.bin folder?
dsherret opened this issue · comments
David Sherret commented
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
?