From 894dc995742498467669486977aed04f8f4cd9fe Mon Sep 17 00:00:00 2001 From: Lorenzo Iovino Date: Wed, 10 Jul 2024 05:50:37 +0200 Subject: [PATCH] docs(readme): add table installation dependencies --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 611d3d9..eedcc88 100644 --- a/README.md +++ b/README.md @@ -18,11 +18,13 @@ Check out the live demo: [ng2-fittext Demo](https://stackblitz.com/edit/stackbli ## Installation -Install the library using npm: +Install the library using npm according to your angular version (see table below): + +| Angular | ng2-fittext | command | +|---------|-------------|-------------------------------| +| <= v17 | 1.4.3 | ```npm i ng2-fittext@1.4.3``` | +| >= v18 | 2.0.0 | ``` npm i ng2-fittext@1.5.0```| -```bash -npm install --save ng2-fittext -``` ### Usage