Further to this suggestion and my other LibreJS suggestion, you might
instead change to check for `<link>` or `<a> with a `rel` pointing to a
`package.json` file, as this would probably be the easiest path for
developers to point to the license of their source code without their
needing to reinvent the wheel in storing license and other metadata (as
this is already an expected part of `package.json` files). There could
optionally be different links (or `rel` values) if it was necessary for
a site to indicate whether the JavaScript or server source code were
from different packages.
On 2020/5/4 4:15 PM, Brett Zamir wrote:
I've seen
https://www.gnu.org/software/librejs/free-your-javascript.html and
https://www.gnu.org/software/librejs/index.html .
I'd be interested for there to be a formal means of advertising and
identifying--from within HTML--the license type of server code (e.g.,
not only AGPL, but that would be one example).
Thanks,
Brett