If someone publishes foo.jsunder the GPL and I require("foo")in my node.js application, is my code a “derivative work” for GPL purposes?
foo.js
require("foo")
Does the situation change (i.e. it matters) if the AGPL library, and I run this code on the server?
Edit: I'm also not sure if (A) GPL v2 or v3 matters.
Probably. you will need a GPL compatible license, whatever that means.
Fortunately, most js libraries are licensed by MIT, so we don’t have to worry about legality.
LGPL, LGPL. GPL, , , , - ffmpeg.
AGPL/GPL , ""; GPL , , , AGPL , , .