npm-pkg-version Lightweight cli tool for getting currently installed package version. Installation $ npm install -g npm-pkg-version or Yarn $ yarn global add npm-pkg-version Example of usage $ npmver express $ npmver global npm Output Package Name: npm (global) Package version: 6.4.1 License MIT