There are some companies out there who want to help devs commercialize their libraries. These are the ones that I know about:
https://codecodeship.com/ (JS, Ruby, .NET, Rust, Elixir)
https://anystack.sh/ (PHP, Ruby, JS, Python)
Full disclosure: I built Code Code Ship