Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benoitclaveau/oups
Error collection
https://github.com/benoitclaveau/oups
Last synced: 19 days ago
JSON representation
Error collection
- Host: GitHub
- URL: https://github.com/benoitclaveau/oups
- Owner: BenoitClaveau
- License: mit
- Created: 2017-10-19T13:27:05.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-17T09:07:40.000Z (over 6 years ago)
- Last Synced: 2024-12-04T05:03:59.198Z (24 days ago)
- Language: JavaScript
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# oups
Throw error with ES6 Template Strings.
```.js
throw new Error("Your ${es6} Template String", { es6: "ES6"});
```[![NPM][npm-image]][npm-url]
[![Build Status][travis-image]][travis-url]
[![Coverage Status][coveralls-image]][coveralls-url]
[![NPM Download][npm-image-download]][npm-url]
[![Dependencies Status][david-dm-image]][david-dm-url]## Installation
```shell
npm install oups --save
```## Test
To run our tests, clone the oups repo and install the dependencies.
```bash
$ git clone https://github.com/BenoitClaveau/oups --depth 1
$ cd oups
$ npm install
$ npm test
```[npm-image]: https://img.shields.io/npm/v/oups.svg
[npm-image-download]: https://img.shields.io/npm/dm/oups.svg
[npm-url]: https://npmjs.org/package/oups
[travis-image]: https://travis-ci.org/BenoitClaveau/oups.svg?branch=master
[travis-url]: https://travis-ci.org/BenoitClaveau/oups
[coveralls-image]: https://coveralls.io/repos/BenoitClaveau/oups/badge.svg?branch=master&service=github
[coveralls-url]: https://coveralls.io/github/BenoitClaveau/oups?branch=master
[david-dm-image]: https://david-dm.org/BenoitClaveau/oups/status.svg
[david-dm-url]: https://david-dm.org/BenoitClaveau/oups