Skip to content

Commit

Permalink
Update publish package
Browse files Browse the repository at this point in the history
  • Loading branch information
Oda2 committed May 24, 2022
1 parent 83bc92c commit 1f7ba21
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

# Using Try Catch

Simplify the use of try-catch.
Expand All @@ -9,9 +10,10 @@ Avoid writing code that contains high scope decoupling with using-try-catch.
[![GitHub license](https://img.shields.io/github/license/Oda2/using-try-catch)](https://github.com/Oda2/using-try-catch/blob/master/LICENSE)
[![GitHub issues](https://img.shields.io/github/issues/Oda2/using-try-catch)](https://github.com/Oda2/using-try-catch/issues)
[![GitHub stars](https://img.shields.io/github/stars/Oda2/using-try-catch)](https://github.com/Oda2/using-try-catch/stargazers)
[![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)
[![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)
[![Vulnerability](https://img.shields.io/snyk/vulnerabilities/github/oda2/using-try-catch)](https://github.com/Oda2/using-try-catch)
[![Edit admiring-sun-5qry6](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/using-try-catch-zul50)
[![npm](https://img.shields.io/npm/v/using-try-catch?color=green)](https://www.npmjs.com/package/using-try-catch)
![npm](https://img.shields.io/npm/dy/using-try-catch)

## Installation

Expand Down Expand Up @@ -129,6 +131,12 @@ const example = async () => {
example();
```

## Live Demo

In order to carry out a test without cloning or installing the repository, you can test directly through CodeSandbox in an example I created.

[![Edit admiring-sun-5qry6](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/using-try-catch-zul50)

## Examples

### Typescript
Expand Down Expand Up @@ -176,7 +184,7 @@ example();
<img id="dog-1" />
<img id="dog-2" />

<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/using-try-catch@0.2.1/usingTryCatch.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/using-try-catch@0.3.0/usingTryCatch.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function loaded() {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.2.1",
"version": "0.3.0",
"license": "MIT",
"name": "using-try-catch",
"homepage": "https://github.com/Oda2/using-try-catch",
Expand Down

0 comments on commit 1f7ba21

Please sign in to comment.