Class Licensee::Matchers::NpmBower
In: lib/licensee/matchers/npm_bower_matcher.rb
Parent: Package

Constants

LICENSE_REGEX = / s*[\"\']license[\"\']\s*\:\s*[\'\"]([a-z\-0-9\.]+)[\'\"],?\s* /ix   While we could parse the package.json or bower.json file, prefer a lenient regex for speed and security. Moar parsing moar problems.

[Validate]