sajad torkamani
npm install <package-name>@latest

Run npm show <package> to view the latest version or use this Alfred workflow to quickly open the package on the NPM website.