Re:A notable JavaScript developer shamelessly copied one of ...
by PeterisP on Sunday September 26, 2021 @09:53AM
(#28660904)
What about LGPL which is quite explicitly designed for libraries?
Re:A notable JavaScript developer shamelessly copied one of ...
by 5560675260 on Monday September 27, 2021 @07:31AM
(#28669431)
This could work, but it's just annoying. You'd have to modify your build process to serve this library separately instead of including it in your main bundle and then doing some code splitting.
If you use a gpl licensed library in your project, it essentially becomes gpl licensed too. If you ever want to sell your software, this is probably a big no-no. It will become quite challenging, and could end up in a legal desaster.
So to create a successful library, other people are willing to use, you essentially have to release it without restrictions.