normalize-pkg
normalize-pkg copied to clipboard
Search for local LICENSE file?
More of an odd question rather than a bug...
I was looking through the inferLicenseURL()
method and wasn't sure if you wanted to:
- Add "MPL" license (I'm biased here): http://www.mozilla.org/MPL/
- Search the local repo for a LICENSE file and link to that. This could be a bit mucky since it requires some OS filesystem stuff and then possibly trying to determine a fully qualified URL to said license.
I can split these out into separate GitHub issues if you want.
sure, I'm open to whatever. even adding logic that hits the file system and does a search could be fast if we whitelist some file names, and maybe use glob patterns based on those.