mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-03 04:10:04 +02:00
use minify
This commit is contained in:
20
node_modules/try-catch/README.md
generated
vendored
Normal file
20
node_modules/try-catch/README.md
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
# TryCatch
|
||||
|
||||
`Try-catch` wrapper.
|
||||
|
||||
## Example
|
||||
|
||||
```js
|
||||
const tryCatch = require('tryCatch');
|
||||
const {parse} = JSON;
|
||||
const [error, result] = tryCatch(parse, 'hello');
|
||||
|
||||
if (error)
|
||||
console.error(error.message);
|
||||
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
|
Reference in New Issue
Block a user