Skip to content

Commit

Permalink
docs: update example
Browse files Browse the repository at this point in the history
  • Loading branch information
demouth committed Oct 27, 2022
1 parent 2231d68 commit adce7f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ npm install @demouth/mb_strwidth

Using unpkg CDN:
```html
<script src="https://unpkg.com/@demouth/[email protected].1/dist/mb_strwidth.min.js"></script>
<script src="https://unpkg.com/@demouth/[email protected].2/dist/mb_strwidth.min.js"></script>
```

## Examples
Expand All @@ -38,7 +38,7 @@ console.log(mb_strwidth("𩸽定食食べたい😭")); // 15

Browser:
```html
<script src="https://unpkg.com/@demouth/[email protected].1/dist/mb_strwidth.min.js"></script>
<script src="https://unpkg.com/@demouth/[email protected].2/dist/mb_strwidth.min.js"></script>
<script>
console.log(mb_strwidth("𩸽定食食べたい😭")); // 15
</script>
Expand Down

0 comments on commit adce7f5

Please sign in to comment.