getModuleVersion

Return

the version string of the module, read from its package.json.

Parameters

module

the Node.js module to look up

Throws

if the module cannot be resolved