What is a Pattern Library?

Point Clear Media icon

A pattern library is like a style guide, but instead of it defining the elements which are outwardly facing, a pattern library is a repository of the way code should be consistently written.