Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does require()-ing a library in node.js make my code a "derived work" for the purposes of (A)GPL? [closed]

If someone publishes foo.js under GPL, and I require("foo") in my node.js app, is my code a "derived work" for the purposes of GPL?

Does the situation change (i.e. does it matter) if the library is AGPL, and I'm running this code on a server?

Edit: I'm also not sure if it matters whether it's (A)GPL v2 or v3.

like image 401
Aseem Kishore Avatar asked Dec 08 '25 09:12

Aseem Kishore


1 Answers

Probably. you'll need a GPL-compatible license, whatever that means.

Thankfully most js libraries are MIT licensed, so we don't have to worry about legalese.

like image 107
Ricardo Tomasi Avatar answered Dec 09 '25 23:12

Ricardo Tomasi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!