check package version code example
Example 1: check package version python
import packagename
print(packagename.__version__)
Example 2: npm check package version
local packages:
~$ npm list
globally installed packages:
~$ npm list -g
specific package:
~$ npm list <package>