As long as your solutions are generic and do not reveal any key factor that provides to your employer a competitive advantage you should not have much of a problem. Be sure to review the OSS policies of the company you work for.
medium.com/javascript-scene/how-to-build-a-high-v…
There is a piece on that article that specifically talks about open sourcing your modules(Generic solution)