In my opinion there is a limit to what codes should be provided for free. Because we cannot build a business around all open source software.
For example, fullpage.js - the only way the developer could make money is by selling code. Same applies to several javascript libraries.