catch-match 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +14 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  ## Motivation
4
4
 
5
- ## Java example
6
-
7
5
  ```java
8
6
  try {
9
7
  ...
@@ -18,6 +16,20 @@ try {
18
16
  }
19
17
  ```
20
18
 
19
+ ## Getting started
20
+
21
+ ```shell
22
+ yarn add catch-match
23
+
24
+ or
25
+
26
+ npm install catch-match
27
+ ```
28
+
29
+ ```javascript
30
+ import { _try } from 'catch-match';
31
+ ```
32
+
21
33
  ## Example 1
22
34
  ```javascript
23
35
  const result = _try(context => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catch-match",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "repository": {
5
5
  "url": "https://github.com/kobzarvs/catch-match"
6
6
  },