Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anduong96/miatch
https://github.com/anduong96/miatch
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/anduong96/miatch
- Owner: anduong96
- License: mit
- Created: 2020-01-05T07:55:45.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T13:54:49.000Z (about 2 years ago)
- Last Synced: 2024-11-29T17:26:14.637Z (about 1 month ago)
- Language: TypeScript
- Size: 967 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# miatch
[![build status](https://img.shields.io/travis/com/anduong96/miatch.svg)](https://travis-ci.com/anduong96/miatch)
[![code coverage](https://img.shields.io/codecov/c/github/anduong96/miatch.svg)](https://codecov.io/gh/anduong96/miatch)
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![license](https://img.shields.io/github/license/anduong96/miatch.svg)](LICENSE)
[![npm downloads](https://img.shields.io/npm/dt/miatch.svg)](https://npm.im/miatch)> Clean try/catch wrapper
## Table of Contents
* [Install](#install)
* [Usage](#usage)
* [Contributors](#contributors)
* [License](#license)## Install
[npm][]:
```sh
npm install miatch
```[yarn][]:
```sh
yarn add miatch
```## Usage ES6
```js
import { miatch } from 'miatch'
const {
FIRST,
SECOND,
THIRD
} = miatch()FIRST === 'FIRST'
SECOND === 'SECOND'
THIRD === 'THIRD'
```## Contributors
| Name |
| ------------ |
| **An Duong** |## License
[MIT](LICENSE) © An Duong
##
[npm]: https://www.npmjs.com/
[yarn]: https://yarnpkg.com/