An Angular library is an Angular project that differs from an app in that it cannot run on its own. It must be imported and used in an app. For example, the users can import or add service worker
library to an Angular application which turns an application into a Progressive Web App (PWA). It is interesting to note that the users can create own third party library and publish it as npm package to be used in an Application.