mirror of
https://github.com/bvanroll/yahoo-thing.git
synced 2025-08-29 20:12:46 +00:00
5 lines
145 B
JavaScript
5 lines
145 B
JavaScript
'use strict';
|
|
const packageJson = require('package-json');
|
|
|
|
module.exports = name => packageJson(name.toLowerCase()).then(data => data.version);
|