Repository URL to install this package:
Version:
2.0.1 ▾
|
import forOwn from 'lodash/forOwn'
//
import {
overStaticMethods,
getFunctions,
overMethods,
getMethods,
getStaticMethods,
hoistStatics,
} from 'chain-able/lego/Klass'
import filterWhere from 'chain-able/src/deps/loop/filter/filterWhere'
import merge from 'chain-able/src/deps/dopemerge/dopemerge'
// import escapeStringRegExp from 'chain-able/src/deps/string/escapeRegExp'
// import replaceEscapedStar from 'chain-able/src/deps/string/escapedToDotStar'
import preAllocate from 'chain-able/src/deps/array/preAllocate'
import mapArray from 'chain-able/src/deps/loop/map/mapArray'
export { mapArray }
export { preAllocate }
// export { preAllocate, escapeStringRegExp, replaceEscapedStar }
export {
forOwn,
overStaticMethods,
getFunctions,
overMethods,
getMethods,
getStaticMethods,
hoistStatics,
}
import always from 'chain-able/src/deps/fp/always'
import arity from 'chain-able/src/deps/fp/arity'
import bind from 'chain-able/src/deps/fp/always'
import construct from 'chain-able/src/deps/fp/construct'
import hasInMatching from 'chain-able/src/deps/fp/hasInMatching'
import equals from 'chain-able/src/deps/fp/equals'
import includesCount from 'chain-able/src/deps/fp/includesCount'
import invoke from 'chain-able/src/deps/fp/invoke'
import curry from 'chain-able/src/deps/fp/curry'
import {
curry1,
curry2,
curry3,
} from 'chain-able/src/deps/fp/curryN'
import first from 'chain-able/src/deps/fp/first'
import firstIndex from 'chain-able/src/deps/fp/firstIndex'
import flip from 'chain-able/src/deps/fp/flip'
import flip2 from 'chain-able/src/deps/fp/flip2'
import last from 'chain-able/src/deps/fp/last'
// import lastIndex from 'chain-able/src/deps/fp/lastIndex'
import pipe from 'chain-able/src/deps/fp/pipe'
import pipeTwo from 'chain-able/src/deps/fp/pipeTwo'
import prop from 'chain-able/src/deps/fp/prop'
import replace from 'chain-able/src/deps/fp/replace'
// import remove from 'chain-able/src/deps/fp/remove'
// import reverse from 'chain-able/src/deps/fp/reverse'
// import nth from 'chain-able/src/deps/fp/nth'
// import nthArg from 'chain-able/src/deps/fp/nthArg'
// import preferExistingMethod from 'chain-able/src/deps/fp/preferExistingMethod'
// import slice from 'chain-able/src/deps/fp/slice'
// import evolve from 'chain-able/src/deps/fp/evolve'
// import where from 'chain-able/src/deps/fp/where'
// import when from 'chain-able/src/deps/fp/when'
import identity from 'chain-able/src/deps/fp/identity'
// import propOr from 'chain-able/src/deps/fp/propOr'
export {
always,
arity,
bind,
construct,
hasInMatching,
equals,
includesCount,
includesCount as getIncludesCount,
invoke,
// invoker,
curry,
curry1,
curry2,
curry3,
first,
firstIndex,
flip,
flip2,
last,
lastIndex,
// path,
pipe,
pipeTwo,
prop,
replace,
remove,
reverse,
// times,
nth,
// nthArg,
// preferExistingMethod,
// invertObj,
slice,
evolve,
where,
when,
identity,
propOr,
}
import matchDeepProp from 'chain-able/src/deps/regexp/matchDeepProp'
// import matchRegExp from 'chain-able/src/deps/regexp/matchRegExp'
import matchPlainProp from 'chain-able/src/deps/regexp/matchPlainProp'
import matchUnsigned from 'chain-able/src/deps/regexp/matchUnsigned'
import matchInteger from 'chain-able/src/deps/regexp/matchInteger'
import matchNative from 'chain-able/src/deps/regexp/matchNative'
import matchRegExpEscapable from 'chain-able/src/deps/regexp/matchRegExpEscapable'
import matchTypedTag from 'chain-able/src/deps/regexp/matchTypedTag'
import matchUnicode from 'chain-able/src/deps/regexp/matchUnicode'
import matchHex from 'chain-able/src/deps/regexp/matchHex'
import matchBooleanIsh from 'chain-able/src/deps/regexp/matchBooleanIsh'
export {
matchDeepProp,
// matchRegExp,
matchPlainProp,
matchUnsigned,
matchInteger,
matchNative,
matchRegExpEscapable,
matchTypedTag,
matchUnicode,
matchHex,
matchBooleanIsh,
}
// import utilFrom from 'chain-able/src/deps/util/from'
import size from 'chain-able/src/deps/util/size'
import lengthFromZero from 'chain-able/src/deps/util/lengthFromZero'
import lengthMinusOne from 'chain-able/src/deps/util/lengthMinusOne'
import assign from 'chain-able/src/deps/util/assign'
import define from 'chain-able/src/deps/util/define'
import defineFinal from 'chain-able/src/deps/util/defineFinal'
import freeze from 'chain-able/src/deps/util/freeze'
import seal from 'chain-able/src/deps/util/seal'
import getPrototypeOf from 'chain-able/src/deps/util/getPrototypeOf'
import hasOwnProperty from 'chain-able/src/deps/util/hasOwnProperty'
import keysObjOrArray from 'chain-able/src/deps/util/keysObjOrArray'
import props from 'chain-able/src/deps/util/props'
import keys from 'chain-able/src/deps/util/keys'
// import concat from 'chain-able/src/deps/util/concat'
// import from from 'chain-able/src/deps/util/from'
import zip from 'chain-able/src/deps/util/zip'
import zipFromArrayObj from 'chain-able/src/deps/util/zipFromArrayObj'
import values from 'chain-able/src/deps/util/values'
export {
size as toLength,
size,
lengthFromZero,
lengthMinusOne,
assign,
define,
defineFinal,
freeze,
seal,
// @note used by isNil maybe because circular
getPrototypeOf,
hasOwnProperty,
props,
values,
keys,
zip,
zipFromArrayObj,
}
export { merge }
export { filterWhere }
import stringify from 'chain-able/lego/stringify'
export { stringify }
// @todo
// import asyncWrap from 'chain-able/lego/wrap/asyncWrap'
// import attemptOr from 'chain-able/lego/wrap/attemptOr'
// import wrapAttemptOr from 'chain-able/lego/wrap/wrapAttemptOr'
import * as wrap from 'chain-able/lego/wrap/index.js'
const { asyncWrap, attemptOr, wrapAttemptOr } = wrap
export { asyncWrap, attemptOr, wrapAttemptOr }
// import * as recurseTraverse from 'chain-able/lego/recurse'
// const { recurse } = recurseTraverse
// export { recurse }
import recurse from 'chain-able/lego/recurse'
export { recurse }
import * as makeShape from 'chain-able/lego/makeShape'
export { makeShape }
import { filterKeysFor } from 'chain-able/lego/filterKeysFor'
import {
zipToObj,
zipFromArrayObjToObj,
} from 'chain-able/lego/zipToObj'
import toUniverseView from 'chain-able/lego/universeView'
export { toUniverseView, filterKeysFor, zipToObj, zipFromArrayObjToObj }
import set from 'chain-able/src/deps/dot/set'
import get from 'chain-able/src/deps/dot/get'
import has from 'chain-able/src/deps/dot/has'
export { set, get, has }
import addPoolingTo from 'chain-able/src/deps/cache/pooler'
export { addPoolingTo }
import all from 'chain-able/src/deps/conditional/all'
import not from 'chain-able/src/deps/conditional/not'
import and from 'chain-able/src/deps/conditional/and'
import or from 'chain-able/src/deps/conditional/or'
import eq from 'chain-able/src/deps/conditional/eq'
import some from 'chain-able/src/deps/conditional/some'
export { all, not, and, or, eq, some }
import charCodeAtZero from 'chain-able/src/deps/string/charCodeAtZero'
import firstToUpperCase from 'chain-able/src/deps/string/firstToUpperCase'
import hasUnicode from 'chain-able/src/deps/string/hasUnicode'
export { firstToUpperCase, hasUnicode, charCodeAtZero }
import FlatArrayPairs from 'chain-able/src/deps/structured/FlatArrayPairs'
export { FlatArrayPairs, FlatArrayPairs as FlatArrayPair }
import flatten from 'chain-able/src/deps/array/flatten'
export { flatten }