Skip to content

chikara-chan/invincible

Repository files navigation

Invincible

A series of miscellaneous functional JavaScript utility library.

Travis branch Coveralls branch npm npm

Install

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

Usage

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

API

This library documents is published at GitHub Pages. Go to the site to see more details.

Third Support

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'

Links

https://chikara-chan.github.io/invincible/

License

Released under the MIT license.