Explain the difference between local and global npm packages installation
Explain the difference between local and global npm packages installation
The difference between local and global npm package installations lies primarily in their scope and accessibility within the file system.
npm install <package-name>
command is executed.node_modules
folder within that directory[3].require('package-name')
[3]../node_modules/.bin/<command>
or by defining scripts in the package.json
file[4].junior
Gợi ý câu hỏi phỏng vấn
Chưa có bình luận nào