The option you are most likely to find in a code library is:
code to meet a common programming need
Code libraries typically contain reusable code components, functions, or algorithms designed to solve specific programming problems or to perform common tasks, making them an essential resource for developers.