Javascript – use a LGPL licensed library for the web project

javascriptlgpllicensing

I am looking to use a javascript libray licensed under the LGPL license v3.

From what I have read so far, I understand that

If I do not make any modifications to the library, I can use the library without any restrictions.

But if I modify the library, I need to make the modified version available to the end users and also enable them to link the library dynamically.

Since I am using javascript, my code is anyways open to the end user. Also the user can dynamically link to library through the debug console.

So my question is, do I need to do anything explicitly since javascript is already open to users ?

Also, are there any other restrictions that apply which I may have missed out ?

Note: I found other answers that describe LGPL with respect to any application. But I am looking for an answer that describes how LGPL applies to javascript specifically.

Best Answer

The status of GPL in combination with web-projects is a bit murky.

The basic principles of the LGPL are

  • People that you distribute a LGPL-library to must be given the possibility to obtain the source code of the exact version of the library that you distribute.
  • People that have obtained a copy of your program must have the possibility to use your program in combination with modified versions of the LGPL-libraries that your program uses

The problem with Javascript is that, to my knowledge, it is legally unclear if using a Javascript library in a (public) website counts as distribution of that library and if it does, if that implies that users must have the possibility to exercise their freedoms on that website (which would become very impractical).