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@6.0.0-beta.2/iife.min.js"></script>
CommonJS style with npm
npm install celia --save
import {
assign,
each,
getUID,
hasOwn,
isArrayLike,
isAsyncFunction,
isBoolean,
isDate,
isFunction,
isInteger,
isNil,
isNumber,
isObject,
isPlainObject,
isPromiseLike,
isRegExp,
isString,
isUndefined,
isWindow,
looseEqual,
map,
noop,
sleep,
toString,
type
} from 'celia');
import assign from 'celia/es/assign';
import each from 'celia/es/each';
import getUID from 'celia/es/getUID';
import hasOwn from 'celia/es/hasOwn';
import isArrayLike from 'celia/es/isArrayLike';
import isAsyncFunction from 'celia/es/isAsyncFunction';
import isBoolean from 'celia/es/isBoolean';
import isDate from 'celia/es/isDate';
import isFunction from 'celia/es/isFunction';
import isInteger from 'celia/es/isInteger';
import isNil from 'celia/es/isNil';
import isNumber from 'celia/es/isNumber';
import isObject from 'celia/es/isObject';
import isPlainObject from 'celia/es/isPlainObject';
import isPromiseLike from 'celia/es/isPromiseLike';
import isRegExp from 'celia/es/isRegExp';
import isString from 'celia/es/isString';
import isUndefined from 'celia/es/isUndefined';
import isWindow from 'celia/es/isWindow';
import looseEqual from 'celia/es/looseEqual';
import map from 'celia/es/map';
import noop from 'celia/es/noop';
import sleep from 'celia/es/sleep';
import toString from 'celia/es/toString';
import type from 'celia/es/type';
const {
assign,
each,
getUID,
hasOwn,
isArrayLike,
isAsyncFunction,
isBoolean,
isDate,
isFunction,
isInteger,
isNil,
isNumber,
isObject,
isPlainObject,
isPromiseLike,
isRegExp,
isString,
isUndefined,
isWindow,
looseEqual,
map,
noop,
sleep,
toString,
type
} = require('celia');
const assign = require('celia/assign');
const each = require('celia/each');
const getUID = require('celia/getUID');
const hasOwn = require('celia/hasOwn');
const isArrayLike = require('celia/isArrayLike');
const isAsyncFunction = require('celia/isAsyncFunction');
const isBoolean = require('celia/isBoolean');
const isDate = require('celia/isDate');
const isFunction = require('celia/isFunction');
const isInteger = require('celia/isInteger');
const isNil = require('celia/isNil');
const isNumber = require('celia/isNumber');
const isObject = require('celia/isObject');
const isPlainObject = require('celia/isPlainObject');
const isPromiseLike = require('celia/isPromiseLike');
const isRegExp = require('celia/isRegExp');
const isString = require('celia/isString');
const isUndefined = require('celia/isUndefined');
const isWindow = require('celia/isWindow');
const looseEqual = require('celia/looseEqual');
const map = require('celia/map');
const noop = require('celia/noop');
const sleep = require('celia/sleep');
const toString = require('celia/toString');
const type = require('celia/type');
Usage
Manipulation
Release History