1
+
1
2
# Using Try Catch
2
3
3
4
Simplify the use of try-catch.
@@ -9,9 +10,10 @@ Avoid writing code that contains high scope decoupling with using-try-catch.
9
10
[ ![ GitHub license] ( https://img.shields.io/github/license/Oda2/using-try-catch )] ( https://github.com/Oda2/using-try-catch/blob/master/LICENSE )
10
11
[ ![ GitHub issues] ( https://img.shields.io/github/issues/Oda2/using-try-catch )] ( https://github.com/Oda2/using-try-catch/issues )
11
12
[ ![ 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 )
13
14
[ ![ 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 )
15
17
16
18
## Installation
17
19
@@ -129,6 +131,12 @@ const example = async () => {
129
131
example ();
130
132
```
131
133
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
+
132
140
## Examples
133
141
134
142
### Typescript
@@ -176,7 +184,7 @@ example();
176
184
<img id =" dog-1" />
177
185
<img id =" dog-2" />
178
186
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 >
180
188
<script >
181
189
document .addEventListener (' DOMContentLoaded' , function loaded () {
182
190
0 commit comments