Skip to content

Commit

Permalink
Update README.md: add npm installation command
Browse files Browse the repository at this point in the history
  • Loading branch information
orestbida authored May 21, 2023
1 parent 9dd4af6 commit 62e7a1c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]/dist/iframemanager.js
https://cdn.jsdelivr.net/gh/orestbida/[email protected]/dist/iframemanager.css
```
using [`npm`](https://www.npmjs.com/package/@orestbida/iframemanager):

```bash
npm i @orestbida/iframemanager
```

2. #### Import script + stylesheet:

```html
Expand Down

0 comments on commit 62e7a1c

Please sign in to comment.