ISO8601-duration icon indicating copy to clipboard operation
ISO8601-duration copied to clipboard

License

Open trew opened this issue 1 year ago • 2 comments

This repository does not contain a license file, meaning any tools checking for license compliance will fail on this library. I would recommend including a license file as part of the repository instead of linking to an external site.

trew avatar Sep 30 '24 05:09 trew

the license is also listed in package.json, seems weird that that is not picked up by such tools. What specific tools are you referring to?

tolu avatar Sep 30 '24 05:09 tolu

The MIT license specifies:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

That means it's not enough to just specify that MIT is used. The actual text needs to be provided. Most tools that I've seen look for a file in the distributed package called "LICENSE", "LICENSE.md" or "LICENSE.txt".

Me specifically are using https://www.npmjs.com/package/license-checker in combination with custom tooling to resolve the license texts for distribution, but license-checker resolves the licenseFile field to "README.md", which doesn't contain the license text.

trew avatar Sep 30 '24 07:09 trew

Would you accept a PR for this?

trew avatar Sep 12 '25 08:09 trew

Sure 👍

tolu avatar Sep 12 '25 10:09 tolu