# for just check
npm outdated
# for update
npm update

# check npm package that need to be updated
npm install npm-check-updates
npm install npm-check-updates --g
# for check
npx npm-check-updates
or
ncu
# apply to package.json after npm-check-updates
ncu -u


# install updated package in folder
npm install

_
반응형