UNPKG

commit-history-for-file

Version:

returns the filesize history (in kb) for a given file on github

12 lines (9 loc) 237 B
import async from 'async' import historic from './get-history' import getSize from './get-size' function getSizes(url, callback) { historic(url, (err, urls) => { async.map(urls, getSize, callback) }) } export default getSizes