Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

mightty

toddsby130.1.2

ES6 Javascript Utility Library

utils, utility, mighty, mightyjs, mighttyjs, mightty, es6, es2015

readme

Mightty: ES6 Javascript Utility Library

Requirements

Mightty requires node v4.5.0 or higher for (partial) ES2015 support. (IE > 11, Firefox > 45, or Chrome > 55)

$ npm i -S mightty

Hello 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

Quick Start

// STEP 1
$ npm i -S mightty

// STEP 2
import { isNil, mighttyConsole } from 'mightty';

// PROFIT
mighttyConsole.log( isNil( value ) );

USE IN BROWSER

<script src="lib/main.js"></script>

Authors

See AUTHORS.

History

See HISTORY.

License

MIT

changelog

0.1.0 / 2016-10-5

  • Mightty initial release

0.1.2 / 2017-01-2

  • Added method isArr
  • Added method isInt
  • Added method isStrongPassword