Overview

Invincible is a collection of miscellaneous functional JavaScript utility library. It is aim at helping developer to code easily and better.

Install

$ npm install --save invincible
# Or
$ yarn add invincible

Usage

var invincible = require('invincible')
// Or
import invincible from 'invincible'
// Or
import {subModule, ...others} from 'invincible'
// Or
import subModule from 'invincible/lib/subModule'

Third Support

Support babel-plugin-import for loading modules on demand.

// .babelrc
{
"plugins": [
["import", {
"libraryName": "invincible",
"camel2DashComponentName": false
}]
]
}
import {subModule, ...others} from 'invincible'

Alternatively, using webpack 2 feature tree-shaking.

import {subModule, ...others} from 'invincible'

License

Released under the MIT license.