Create Angular Library NPM/YARN project with backward version support

Balram Chavan
7 min readJan 22, 2023

Have you ever wanted to publish your own Angular library project on NPM package repository? In this story, we will create an Angular library project ngx-highlight-text to highlight a text element, and publish it on NPM to be publically available. This library can be used by any Angular projects with version 9 onward (till recent version 15 at the time of writing this story) with partial Ivy support.

Let’s get started.

--

--