Mightty: ES6 Javascript Utility Library
Mightty requires node v4.5.0 or higher for (partial) ES2015 support. (IE > 11, Firefox > 45, or Chrome > 55)
$ npm i -S mightty
let data = {
a: '',
b: undefined,
c: 'hello',
d: 25
};
mighttyConsole.log( isNil( 'Empty? ',data.a, data.b, data.c, data.d ) );
// returns Empty? True True False False// STEP 1
$ npm i -S mightty
// STEP 2
import { isNil, mighttyConsole } from 'mightty';
// PROFIT
mighttyConsole.log( isNil( value ) );
<script src="lib/main.js"></script>See AUTHORS.
See HISTORY.
MIT