no-throw
Wraps a function and makes it return {error, value} instead of throwing.
Install
$ npm install --save no-throw
Usage
'use strict'; var noThrow = ; var { if n < 0 throw 'Encountered a complication.'; return Math;}; console;
License
MIT © Andrew Morris