library
library — A collection of ready-made code you can call on to do a specific job — date handling, image resizing, database access.
Libraries are the main reason you don't write everything from scratch. Most packages you install are libraries.
"Use a library for that." "Which library handles dates best?"