nl_tokens: sync returns version
pl_tokens: function getLocalModuleVersion ( name ) { check . verify . string ( name , 'missing name string' ) try { var <mask> = path . join ( 'node_modules' , name , 'package.json' ) var contents = fs . readFileSync ( filename , 'utf-8' ) var pkg = JSON . parse ( contents ) return pkg . version } catch ( error ) { console . error ( 'could not fetch version for local module' , name ) console . error ( error ) return null } }