'use strict'; const packageJson = require('package-json'); module.exports = name => packageJson(name.toLowerCase()).then(data => data.version);
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
index.js | File | 145 B | 0644 |
|
license | File | 1.09 KB | 0644 |
|
package.json | File | 1.66 KB | 0644 |
|
readme.md | File | 1.04 KB | 0644 |
|