Multi-purpose Javascript functions.
JavaScript HTML
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist
docs
test
.eslintrc
.gitignore
.travis.yml
LICENSE
README.md
index.html
karma.conf.js
npm-debug.log
package-lock.json
package.json
rollup.docs.config.js
rollup.test.config.js

README.md

Canivete

Documentation


Canivete (Brazilian Portuguese for swiss army knife) is an on-going personal project by Leonardo Favre, a place to keep generic, multi-purpose Javascript functions.

Due to its multi-purpose nature, Canivete is not distributed as a single file, instead, one should import its functions as needed, using ES6 module syntax.

Babel and Babel Polyfill are recommended to make Canivete work in older browsers.

Usage

Since ES6 modules have virtually no browser support at this time, a module bundler is needed to handle Canivete dependencies.

Here's how to use Canivete with Rollup and Webpack.

Credits

Canivete is released under The Unlicense license.