Buradasın
Finding NPM Package Versions
stackoverflow.com/questions/10972176/find-the-version-of-an-installed-npm-packageYapay zekadan makale özeti
- Command-Line Methods
- npm view <package> version shows latest available version
- npm list --depth=0 displays versions without dependencies
- npm list shows versions with dependencies
- npm info <package name> version displays package information
- npm show {package} version shows latest version
- Alternative Tools
- npm-check shows package versions and updates
- qnm provides CLI utility for querying node_modules
- npmv command shows version information for npm and packages
- Package.json file can be accessed for version details
- System-Specific Notes
- Local packages require npm list -g
- Global packages need -g flag
- Node.js version can be checked with node -v
- Package.json format differs for local and global packages