A series of miscellaneous functional JavaScript utility library.
$ npm install --save invincible
# Or
$ yarn add invincible
const invincible = require('invincible')
// Or
import invincible from 'invincible'
// Or
import {subModule, ...others} from 'invincible'
// Or
import subModule from 'invincible/lib/subModule'
This library documents is published at GitHub Pages. Go to the site to see more details.
Supports 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'
https://chikara-chan.github.io/invincible/
Released under the MIT license.