     licenseText = readIfExists(join(path, licenseFileName))
 
   unless licenseText?
+    licenseFileName = 'COPYING'
+    licenseText = readIfExists(join(path, licenseFileName))
+
+  unless licenseText?
+    licenseFileName = 'COPYING.md'
+    licenseText = readIfExists(join(path, licenseFileName))
+
+  unless licenseText?
     licenseFileName = 'MIT-LICENSE.txt'
     if licenseText = readIfExists(join(path, licenseFileName))
       license = 'MIT'

      license = license.type ? 'UNKNOWN'
    license = 'BSD' if license.match /^[\s(]*BSD-.*/
    license = 'LGPL' if license.match /^[\s(]*LGPL(-.+)*/
    license = 'MIT' if license.match(/^[\s(]*MIT\W/)
    license = 'Apache' if license.match /^[\s(]*Apache.*/
    license = 'WTF' if license is 'WTFPL'

      'Unlicense'
    else if licenseText.indexOf('The ISC License') > -1
      'ISC'
    else if licenseText.indexOf('GNU LESSER GENERAL PUBLIC LICENSE') > -1
      'LGPL'
    else if licenseText.indexOf('GNU GENERAL PUBLIC LICENSE') > -1
      'GPL'
    else if licenseText.indexOf('The ISC License') > -1
      'ISC'
    else if licenseText.toLocaleLowerCase().indexOf('public domain')  > -1
      'Public Domain'

  {license ? 'UNKNOWN', source: licenseFileName, sourceText: licenseText}

readIfExists = (path) ->
  readFileSync(path, 'utf8') if existsSync(path)
