From 62e7a1c104ccc06b84798ec14dbd13fed2c8e8d4 Mon Sep 17 00:00:00 2001 From: Orest Bida Date: Sun, 21 May 2023 22:44:31 +0200 Subject: [PATCH] Update README.md: add `npm` installation command --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e39e4a8..bb96192 100644 --- a/README.md +++ b/README.md @@ -51,13 +51,18 @@ The plugin was mainly developed to aid [**CookieConsent**](https://github.com/or - Can be integrated with any consent solution ## Installation -1. #### Download the [latest release](https://github.com/orestbida/iframemanager/releases/latest) or use via CDN: +1. #### Download the [latest release](https://github.com/orestbida/iframemanager/releases/latest) or use via CDN/NPM: ```bash https://cdn.jsdelivr.net/gh/orestbida/iframemanager@1.2.5/dist/iframemanager.js https://cdn.jsdelivr.net/gh/orestbida/iframemanager@1.2.5/dist/iframemanager.css ``` + using [`npm`](https://www.npmjs.com/package/@orestbida/iframemanager): + ```bash + npm i @orestbida/iframemanager + ``` + 2. #### Import script + stylesheet: ```html