try-catch

WebJar for try-catch

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

try-catch
Последняя версия

Последняя версия

2.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

try-catch
WebJar for try-catch
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/coderaiser/try-catch

Скачать try-catch

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/try-catch/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>try-catch</artifactId>
    <version>2.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/try-catch/
implementation 'org.webjars.npm:try-catch:2.0.1'
// https://jarcasting.com/artifacts/org.webjars.npm/try-catch/
implementation ("org.webjars.npm:try-catch:2.0.1")
'org.webjars.npm:try-catch:jar:2.0.1'
<dependency org="org.webjars.npm" name="try-catch" rev="2.0.1">
  <artifact name="try-catch" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='try-catch', version='2.0.1')
)
libraryDependencies += "org.webjars.npm" % "try-catch" % "2.0.1"
[org.webjars.npm/try-catch "2.0.1"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

Try Catch License NPM version Dependency Status Build Status Coverage Status

Functional try-catch wrapper

Install

npm i try-catch

Example

const tryCatch = require('try-catch');
const {parse} = JSON;
const [error, result] = tryCatch(parse, 'hello');

if (error)
    console.error(error.message);

Related

License

MIT

Версии библиотеки

Версия
2.0.1
2.0.0