index.js
function filenameFor(shortcode, size) {
  if (!shortcode) throw new Error('shortcode parameter is required')
  size = size || 'l'

  return [shortcode, size, 'jpg'].join('.')
}
function filenameFor(shortcode, size) {
  if (!shortcode) throw new Error('shortcode parameter is required')
  size = size || 'l'

  return [shortcode, size, 'jpg'].join('.')
}
function filenameFor ( shortcode , size ) { if ( ! shortcode ) throw new Error ( 'shortcode parameter is required' ) size = size || 'l' return [ shortcode , size , 'jpg' ] . join ( '.' ) }
Make up a useful filename
Make up a useful filename