In this Angular library tutorial, I have discussed how you can create a reusable angular 7 library with very little effort using angular cli. Also I have demonstrated how you leverage angular workspace to generate a test application to test your library within the same workspace. Apart from that, I have shown all possible ways to use your library for an example from your dist directory, with packaged tar file or from published npm package.
I have also given an example of how you can publish your library package in your own private repo using verdaccio.
Project url :