Table of contents
Definition
A library is pre-packaged code meant to solve a specific software problem.
Use Cases and Examples
Reoccurring tasks in software development are usually packaged into libraries so other developers can use them in their projects or within the same team.
Libraries are mostly configurable to allow more room for changes that best suits the developer's need.Jquery [↗] is an example of a library that used to be popular when it came to manipulating DOM elements.
Summary
The name library and framework [→] are sometimes used interchangeably, with the latter usually reserved for larger reusable components or source code [→]. Some developers and teams open source [→] their libraries to get support from other developers who find them useful.
Here is another article you might like 😊 What Is A Tech Stack?