1.0.0-1 • Published 5 years ago
celia.func v1.0.0-1
celia.func
A modern JavaScript function utility library delivering modularity, performance, and extras.
Table of contents
Installation
Load celia.func
via classical <script>
tag
<script src="https://cdn.jsdelivr.net/npm/celia.func/iife.min.js"></script>
<script>
// window.celiaFunc
celiaFunc.afterCall
celiaFunc.around
celiaFunc.beforeCall
celiaFunc.debounce
</script>
CommonJS style with npm
npm install celia.func --save
// es6
import { afterCall, around, beforeCall, debounce } from 'celia.func';
import { afterCall, around, beforeCall, debounce } from 'celia.func/es';
// modularity
import afterCall from 'celia.func/es/afterCall';
import around from 'celia.func/es/around';
import beforeCall from 'celia.func/es/beforeCall';
import debounce from 'celia.func/es/debounce';
// node
const { afterCall, around, beforeCall, debounce } = require('celia.func');
// or
const afterCall = require('celia.func/afterCall');
const around = require('celia.func/around');
const beforeCall = require('celia.func/beforeCall');
const debounce = require('celia.func/debounce');
Usage
Modules
- afterCall
- around
- beforeCall
- debounce
Example
1.0.0-1
5 years ago