DEV Community

Discussion on: Breaking of two NPM libraries show that everything isn't right in FOSS ecosystem

Collapse
 
lexlohr profile image
Alex Lohr

Breaking other people's project is definitely malice - it also hurts people who were using this open source package for non-commercial use.

There is a better solution. Unfortunately, it is one that is rather boring for developers: licensing - every author can define the licensing terms of their software, so you can use a GPL3 that requires users of your library to open-source their work based on your library and at the same time support a commercial license without this requirement.