David Seaward <[email protected]> wrote: > On Mon, 2017-10-30 at 08:41 -0400, zach wick wrote: > > There is not currently a way to use LibreJS as a command line tool to > > test a URL's licensing of its JS. > > As you asked, the only way to currently use LibreJS is as a browser > > extension.
I recently got some help from the developer of "scancode-toolkit" - an offline license checker. They suggested downloading a URL as a "complete web page" (including JavaScript files) and scanning the result to get all the license data. Additionally, they consider any report mismatches between their tool and LibreJS to be a bug. [1] [2] I haven't tried it out yet, but this should be a useful tool for automated testing (while LibreJS remains the appropriate tool for actual browsing). Regards, David [1] https://softwarerecs.stackexchange.com/q/46791/24293 [2] https://github.com/nexB/scancode-toolkit/issues/835
