celia
Note: A modern JavaScript utility library delivering modularity, performance, & extras.
Table of contents
Installation
Load celia
via classical <script>
tag
<script src="https://cdn.jsdelivr.net/npm/celia/celia.min.js"></script>
Load celia
via AMD (requirejs)
define(['celia'], function(corieDate) {
});
CommonJS style with npm
npm install celia --save
import celia from 'celia';
import celia from 'celia/src';
const celia = require('celia');
const isDate = require('celia/isDate');
Usage
API
- camelCase
- each
- forEach
- forIn
- forNumber
- index
- isArrayLike
- isAsyncFunction
- isBoolean
- isDate
- isFunction
- isNil
- isNumber
- isObject
- isPromiseLike
- isString
- isUndefined
- type
- array/append
- array/forEach
- array/grep
- array/inArray
- array/includes
- array/join
- array/makeArray
- array/map
- array/remove
- array/removeAt
- array/toArray
- date/add
- date/clone
- date/dayOfYear
- date/daysInMonth
- date/diff
- date/endOf
- date/format
- date/isAfter
- date/isBefore
- date/isBetween
- date/isLeapYear
- date/isSame
- date/isSameOrAfter
- date/isSameOrBefore
- date/isValid
- date/parse
- date/startOf
- date/subtract
- dom/after
- dom/append
- dom/before
- dom/data
- dom/off
- dom/on
- dom/prepend
- error/NotImplementedError
Release History
2.0.1
- added unit tests
- renamed
merge
to join
- modularity
remove
will return null when anything can be removed
2.1.0-0
- added api
- dom/after
- dom/append
- dom/before
- dom/data
- dom/off
- dom/on
- dom/prepend
- error/NotImplementedError
2.1.0-1