Web Dev/4. Node Js 관련
Npx to run command of locally installed packages
hYhY1234
2021. 2. 23. 16:17
728x90
www.freecodecamp.org/news/npm-vs-npx-whats-the-difference/
npm vs npx — What’s the Difference?
If you’ve ever used Node.js, then you must have used npm for sure. npm (node package manager) is the dependency/package manager you get out of the box when you install Node.js. It provides a way for developers to install packages both globally and locall
www.freecodecamp.org
NPX 가 그저 module 설치 안하고 run 하는 도구인줄 알았더니,
local에 설치하고나서 ./node_modules/packages/bin 어쩌구 일케 찾아가서 execute 하지않아도 npx 패키지 이름, 이렇게만을로도 명령어를 실행하게 해준다는 놀라운 사실을 드디어 알게 되었다!