error-log-exit
v0.1.0
Published
log error in red to console and exit with given value
Downloads
15
Maintainers
Readme
error-log-exit
log error messages in red color to console
Project Status
install with npm
npm install --save error-log-exit
install with yarn
yarn add error-log-exit
Example
ES5
var errorLogExit = require('error-log-exit')
errorLogExit('my error message ...', 1)
ES6
import errorLogExit from 'error-log-exit'
errorLogExit('my error message ...', 1)
Contact / Social Media
Get the latest News about Web Development, Open Source, Tooling, Server & Security
License
Copyright (c) 2016 Maik Ellerbrock