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 $ yarn add invincible
|
Usage
var invincible = require('invincible') import invincible from 'invincible' import {subModule, ...others} from 'invincible' 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.