Repository URL to install this package:
|
Version:
1.2.8 ▾
|
export { default as forOwn } from 'lodash/forOwn'
export { default as merge } from 'chain-able-deps/dist/dopemerge'
// export { mapArray } from 'chain-able-deps/dist/loop/map/mapArray'
// export { filterWhere } from 'chain-able-deps/dist/loop/filter'
export { filterWhere, mapArray } from 'chain-able-deps/dist/loop'
export {
always,
construct,
includesCount,
includesCount as getIncludesCount,
curry,
curry1,
curry2,
curry3,
pipe,
pipeTwo,
identity,
} from 'chain-able-deps/dist/fp'
// @todo - `regexps`
export {
matchDeepProp,
matchPlainProp,
matchUnsigned,
matchInteger,
matchNative,
matchRegExpEscapable,
matchTypedTag,
matchUnicode,
matchHex, // @todo not working // matchBooleanIsh,
} from 'chain-able-deps/dist/regexp'
export {
values,
zipFromArrayObj,
zip,
keys,
keysObjOrArray,
getPrototypeOf,
defineFinal,
freeze,
size,
size as toLength,
lengthMinusOne,
} from 'chain-able-deps/dist/util'
// export { stringify } from 'chain-able-lego/stringify'
// export { stringify } from 'chain-able-lego'
// export { asyncWrap, attemptOr, wrapAttemptOr } from 'chain-able-lego'
console.warn('@@todo @@exotic @chain-able-lego')
export const stringify = JSON.stringify
export function wrapAttemptOr(fn) {
return function() {
try {
const result = fn.apply(undefined, arguments)
// return [undefined, result]
return [result]
} catch (exception) {
return [exception]
}
}
}
// export { addPoolingTo } from 'chain-able-deps/dist/cache'
export { addPoolingTo } from 'chain-able-deps'
export { all, not, and, or, eq, some } from 'chain-able-deps/dist/conditional'
export {
charCodeAtZero,
firstToUpperCase,
hasUnicode,
escapeStringRegExp,
replaceEscapedStar,
} from 'chain-able-deps/dist/string'
export { FlatArrayPairs } from 'exotic-structures'
export { flatten, preAllocate } from 'chain-able-deps/dist/array'