Skip to content

Commit 1f7ba21

Browse files
committed
Update publish package
1 parent 83bc92c commit 1f7ba21

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
# Using Try Catch
23

34
Simplify the use of try-catch.
@@ -9,9 +10,10 @@ Avoid writing code that contains high scope decoupling with using-try-catch.
910
[![GitHub license](https://img.shields.io/github/license/Oda2/using-try-catch)](https://github.com/Oda2/using-try-catch/blob/master/LICENSE)
1011
[![GitHub issues](https://img.shields.io/github/issues/Oda2/using-try-catch)](https://github.com/Oda2/using-try-catch/issues)
1112
[![GitHub stars](https://img.shields.io/github/stars/Oda2/using-try-catch)](https://github.com/Oda2/using-try-catch/stargazers)
12-
[![CDN jsdelivr](https://img.shields.io/badge/cdn%20jsdelivr-0.2.1-green)](https://cdn.jsdelivr.net/npm/using-try-catch@0.2.1/dist/usingTryCatch.js)
13+
[![CDN jsdelivr](https://img.shields.io/badge/cdn%20jsdelivr-0.3.0-green)](https://cdn.jsdelivr.net/npm/using-try-catch@0.3.0/dist/usingTryCatch.js)
1314
[![Vulnerability](https://img.shields.io/snyk/vulnerabilities/github/oda2/using-try-catch)](https://github.com/Oda2/using-try-catch)
14-
[![Edit admiring-sun-5qry6](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/using-try-catch-zul50)
15+
[![npm](https://img.shields.io/npm/v/using-try-catch?color=green)](https://www.npmjs.com/package/using-try-catch)
16+
![npm](https://img.shields.io/npm/dy/using-try-catch)
1517

1618
## Installation
1719

@@ -129,6 +131,12 @@ const example = async () => {
129131
example();
130132
```
131133

134+
## Live Demo
135+
136+
In order to carry out a test without cloning or installing the repository, you can test directly through CodeSandbox in an example I created.
137+
138+
[![Edit admiring-sun-5qry6](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/using-try-catch-zul50)
139+
132140
## Examples
133141

134142
### Typescript
@@ -176,7 +184,7 @@ example();
176184
<img id="dog-1" />
177185
<img id="dog-2" />
178186

179-
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/using-try-catch@0.2.1/usingTryCatch.js"></script>
187+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/using-try-catch@0.3.0/usingTryCatch.js"></script>
180188
<script>
181189
document.addEventListener('DOMContentLoaded', function loaded() {
182190

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.2.1",
2+
"version": "0.3.0",
33
"license": "MIT",
44
"name": "using-try-catch",
55
"homepage": "https://github.com/Oda2/using-try-catch",

0 commit comments

Comments
 (0)