Skip to content

Commit

Permalink
readme review
Browse files Browse the repository at this point in the history
  • Loading branch information
memob0x committed Feb 1, 2025
1 parent c70b0f9 commit 3cc355f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The HTML files in the "e2e" folder serve as demos, showcasing how the library ca

## Usage

If you're using Node, you can install the library with npm:
It can be installed via npm:

```shell
npm install scroll-padlock
Expand All @@ -35,7 +35,7 @@ import { setStyle } from "scroll-padlock";
setStyle();
```

If you prefer using ES modules in the browser, you can import the library as follows:
It can be imported as an ES module in the browser:

```html
<script type="importmap">
Expand All @@ -53,7 +53,7 @@ If you prefer using ES modules in the browser, you can import the library as fol
</script>
```

If you prefer to use the library globally, you can include the UMD version of the script:
It can be used globally by including the UMD version of the script:

```html
<script src="https://cdn.jsdelivr.net/npm/scroll-padlock@latest/dist/scroll-padlock.umd.min.js"></script>
Expand Down

0 comments on commit 3cc355f

Please sign in to comment.