UNPKG

data-provider-temporary

Version:

Library that helps with server-to-client synchronization of data

9 lines (7 loc) 197 B
'use strict'; var packageJson = require('package-json'); module.exports = function (name) { return packageJson(name.toLowerCase(), 'latest').then(function (data) { return data.version; }); };