\documentclass[english]{ltxdoc}
\nofiles
\usepackage{numprint}
\GetFileInfo{numprint.sty}
\edef\nprtversion{\fileversion}
\usepackage{nbaseprt}
\GetFileInfo{nbaseprt.sty}
\typeout{VERSION \nprtversion-\fileversion}
\begin{document}
\end{document}
