Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neotan/simda
A light-weight alternative of Ramda.js
https://github.com/neotan/simda
Last synced: 3 months ago
JSON representation
A light-weight alternative of Ramda.js
- Host: GitHub
- URL: https://github.com/neotan/simda
- Owner: neotan
- License: mit
- Created: 2020-01-17T07:33:11.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T15:39:34.000Z (about 2 years ago)
- Last Synced: 2024-10-13T18:07:03.787Z (3 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/simda
- Size: 987 KB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Simda.js](https://www.npmjs.com/package/simda)
A light-weight alternative (in ES6+) of [Ramda.js](https://ramdajs.com/)
### Installation
```shell
npm i simda
```### Usage
```js
import * as S from 'simda'const newObj = S.assocPath(['a', 1, 'c'], 999)({a: [{b: 111}]})
console.log(newObj) // => {a:[{b:111},{c:999}]}
```### Functions
**\internal**
>- [x] [**_arity**](src/internal/_arity.js)
>- [x] [_complement](src/internal/_complement.js)
>- [x] [**_curry1**](src/internal/_curry1.js)
>- [x] [**_curry2**](src/internal/_curry2.js)
>- [x] [**_curry3**](src/internal/_curry3.js)
>- [x] [_filter](src/internal/_filter.js)
>- [x] [**_has**](src/internal/_has.js)
>- [x] [_identity](src/internal/_identity.js)
>- [x] [**_isArguments**](src/internal/_isArguments.js)
>- [x] [_isArray](src/internal/_isArray.js)
>- [x] [**_isArrayLike**](src/internal/_isArrayLike.js)
>- [x] [_isFunction](src/internal/_isFunction.js)
>- [x] [**_isInteger**](src/internal/_isInteger.js)
>- [x] [_isObject](src/internal/_isObject.js)
>- [x] [_isString](src/internal/_isString.js)
>- [x] [**_map**](src/internal/_map.js)
>- [x] [**_pipe**](src/internal/_pipe.js)
>- [x] [**_reduce**](src/internal/_reduce.js)
>- [x] [_toString](src/internal/_toString.js)
>- [ ] [_aperture](src/internal/_aperture.js)
>- [ ] [_arrayFromIterator](src/internal/_arrayFromIterator.js)
>- [ ] [_assertPromise](src/internal/_assertPromise.js)
>- [ ] [_assoc](src/internal/_assoc.js)
>- [ ] [_checkForMethod](src/internal/_checkForMethod.js)
>- [ ] [_clone](src/internal/_clone.js)
>- [ ] [_cloneRegExp](src/internal/_cloneRegExp.js)
>- [ ] [_concat](src/internal/_concat.js)
>- [ ] [_createPartialApplicator](src/internal/_createPartialApplicator.js)
>- [ ] [_curryN](src/internal/_curryN.js)
>- [ ] [_dispatchable](src/internal/_dispatchable.js)
>- [ ] [_dissoc](src/internal/_dissoc.js)
>- [ ] [_dropLast](src/internal/_dropLast.js)
>- [ ] [_dropLastWhile](src/internal/_dropLastWhile.js)
>- [ ] [_equals](src/internal/_equals.js)
>- [ ] [_flatCat](src/internal/_flatCat.js)
>- [ ] [_forceReduced](src/internal/_forceReduced.js)
>- [ ] [_functionName](src/internal/_functionName.js)
>- [ ] [_functionsWith](src/internal/_functionsWith.js)
>- [ ] [_includes](src/internal/_includes.js)
>- [ ] [_includesWith](src/internal/_includesWith.js)
>- [ ] [_indexOf](src/internal/_indexOf.js)
>- [ ] [_isNumber](src/internal/_isNumber.js)
>- [ ] [_isPlaceholder](src/internal/_isPlaceholder.js)
>- [ ] [_isRegExp](src/internal/_isRegExp.js)
>- [ ] [_isTransformer](src/internal/_isTransformer.js)
>- [ ] [_isTypedArray](src/internal/_isTypedArray.js)
>- [ ] [_makeFlat](src/internal/_makeFlat.js)
>- [ ] [_objectAssign](src/internal/_objectAssign.js)
>- [ ] [_objectIs](src/internal/_objectIs.js)
>- [ ] [_of](src/internal/_of.js)
>- [ ] [_pipeP](src/internal/_pipeP.js)
>- [ ] [_promap](src/internal/_promap.js)
>- [ ] [_quote](src/internal/_quote.js)
>- [ ] [_reduced](src/internal/_reduced.js)
>- [ ] [_Set](src/internal/_Set.js)
>- [ ] [_stepCat](src/internal/_stepCat.js)
>- [ ] [_toISOString](src/internal/_toISOString.js)
>- [ ] [_xall](src/internal/_xall.js)
>- [ ] [_xany](src/internal/_xany.js)
>- [ ] [_xaperture](src/internal/_xaperture.js)
>- [ ] [_xchain](src/internal/_xchain.js)
>- [ ] [_xdrop](src/internal/_xdrop.js)
>- [ ] [_xdropLast](src/internal/_xdropLast.js)
>- [ ] [_xdropLastWhile](src/internal/_xdropLastWhile.js)
>- [ ] [_xdropRepeatsWith](src/internal/_xdropRepeatsWith.js)
>- [ ] [_xdropWhile](src/internal/_xdropWhile.js)
>- [ ] [_xfBase](src/internal/_xfBase.js)
>- [ ] [_xfilter](src/internal/_xfilter.js)
>- [ ] [_xfind](src/internal/_xfind.js)
>- [ ] [_xfindIndex](src/internal/_xfindIndex.js)
>- [ ] [_xfindLast](src/internal/_xfindLast.js)
>- [ ] [_xfindLastIndex](src/internal/_xfindLastIndex.js)
>- [ ] [_xmap](src/internal/_xmap.js)
>- [ ] [_xpromap](src/internal/_xpromap.js)
>- [ ] [_xreduceBy](src/internal/_xreduceBy.js)
>- [ ] [_xtake](src/internal/_xtake.js)
>- [ ] [_xtakeWhile](src/internal/_xtakeWhile.js)
>- [ ] [_xtap](src/internal/_xtap.js)
>- [ ] [_xwrap](src/internal/_xwrap.js)
- [x] [add](src/add.js)
- [x] [always](src/always.js)
- [x] [ascend](src/ascend.js)
- [x] [assoc](src/assoc.js)
- [x] [**assocPath**](src/assocPath.js)
- [x] [concat](src/concat.js)
- [x] [defaultTo](src/defaultTo.js)
- [x] [descend](src/descend.js)
- [x] [**empty**](src/empty.js)
- [x] [F](src/F.js)
- [x] [**filter**](src/filter.js)
- [x] [flatten](src/flatten.js)
- [x] [fromPairs](src/fromPairs.js)
- [x] [head](src/head.js)
- [x] [identity](src/identity.js)
- [x] [**is**](src/is.js)
- [x] [isFunction](src/isFunction.js)
- [x] [isNil](src/isNil.js)
- [x] [**isPlainObj**](src/isPlainObj.js)
- [x] [**keys**](src/keys.js)
- [x] [**map**](src/map.js) supported (val, key, list)=>{...}
- [x] [mergeRight](src/mergeRight.js)
- [x] [multiply](src/multiply.js)
- [x] [nth](src/nth.js)
- [x] [path](src/path.js)
- [x] [pathOr](src/pathOr.js)
- [x] [pick](src/pick.js)
- [x] [pickAll](src/pickAll.js)
- [x] [pickBy](src/pickBy.js)
- [x] [**pipe**](src/pipe.js)
- [x] [pluck](src/pluck.js)
- [x] [prop](src/prop.js)
- [x] [propOr](src/propOr.js)
- [x] [reduce](src/reduce.js)
- [x] [reject](src/reject.js)
- [x] [replace](src/replace.js)
- [x] [slice](src/slice.js)
- [x] [sort](src/sort.js)
- [x] [**sortBy**](src/sortBy.js)
- [x] [split](src/split.js)
- [x] [sum](src/sum.js)
- [x] [T](src/T.js)
- [x] [tail](src/tail.js)
- [x] [toLower](src/toLower.js)
- [x] [toPairs](src/toPairs.js)
- [x] [toUpper](src/toUpper.js)
- [x] [**trim**](src/trim.js)
- [x] [unnest](src/unnest.js)
- [x] [values](src/values.js)
- [x] [zipObj](src/zipObj.js)
- [ ] [__](src/__.js)
- [ ] [addIndex](src/addIndex.js)
- [ ] [adjust](src/adjust.js)
- [ ] [all](src/all.js)
- [ ] [allPass](src/allPass.js)
- [ ] [and](src/and.js)
- [ ] [andThen](src/andThen.js)
- [ ] [any](src/any.js)
- [ ] [anyPass](src/anyPass.js)
- [ ] [ap](src/ap.js)
- [ ] [aperture](src/aperture.js)
- [ ] [append](src/append.js)
- [ ] [apply](src/apply.js)
- [ ] [applySpec](src/applySpec.js)
- [ ] [applyTo](src/applyTo.js)
- [ ] [binary](src/binary.js)
- [ ] [bind](src/bind.js)
- [ ] [both](src/both.js)
- [ ] [call](src/call.js)
- [ ] [chain](src/chain.js)
- [ ] [clamp](src/clamp.js)
- [ ] [clip](src/clip)
- [ ] [clone](src/clone.js)
- [ ] [collectBy](src/collectBy.js)
- [ ] [comparator](src/comparator.js)
- [ ] [complement](src/complement.js)
- [ ] [compose](src/compose.js)
- [ ] [composeWith](src/composeWith.js)
- [ ] [cond](src/cond.js)
- [ ] [construct](src/construct.js)
- [ ] [constructN](src/constructN.js)
- [ ] [converge](src/converge.js)
- [ ] [countBy](src/countBy.js)
- [ ] [curry](src/curry.js)
- [ ] [curryN](src/curryN.js)
- [ ] [dec](src/dec.js)
- [ ] [difference](src/difference.js)
- [ ] [differenceWith](src/differenceWith.js)
- [ ] [dissoc](src/dissoc.js)
- [ ] [dissocPath](src/dissocPath.js)
- [ ] [divide](src/divide.js)
- [ ] [drop](src/drop.js)
- [ ] [dropLast](src/dropLast.js)
- [ ] [dropLastWhile](src/dropLastWhile.js)
- [ ] [dropRepeats](src/dropRepeats.js)
- [ ] [dropRepeatsWith](src/dropRepeatsWith.js)
- [ ] [dropWhile](src/dropWhile.js)
- [ ] [either](src/either.js)
- [ ] [endsWith](src/endsWith.js)
- [ ] [eqBy](src/eqBy.js)
- [ ] [eqProps](src/eqProps.js)
- [ ] [equals](src/equals.js)
- [ ] [evolve](src/evolve.js)
- [ ] [find](src/find.js)
- [ ] [findIndex](src/findIndex.js)
- [ ] [findLast](src/findLast.js)
- [ ] [findLastIndex](src/findLastIndex.js)
- [ ] [flip](src/flip.js)
- [ ] [forEach](src/forEach.js)
- [ ] [forEachObjIndexed](src/forEachObjIndexed.js)
- [ ] [groupBy](src/groupBy.js)
- [ ] [groupWith](src/groupWith.js)
- [ ] [gt](src/gt.js)
- [ ] [gte](src/gte.js)
- [ ] [has](src/has.js)
- [ ] [hasIn](src/hasIn.js)
- [ ] [hasPath](src/hasPath.js)
- [ ] [identical](src/identical.js)
- [ ] [ifElse](src/ifElse.js)
- [ ] [inc](src/inc.js)
- [ ] [includes](src/includes.js)
- [ ] [index](src/index.js)
- [ ] [indexBy](src/indexBy.js)
- [ ] [indexOf](src/indexOf.js)
- [ ] [init](src/init.js)
- [ ] [innerJoin](src/innerJoin.js)
- [ ] [insert](src/insert.js)
- [ ] [insertAll](src/insertAll.js)
- [ ] [](src/)
- [ ] [intersection](src/intersection.js)
- [ ] [intersperse](src/intersperse.js)
- [ ] [into](src/into.js)
- [ ] [invert](src/invert.js)
- [ ] [invertObj](src/invertObj.js)
- [ ] [invoker](src/invoker.js)
- [ ] [isEmpty](src/isEmpty.js)
- [ ] [join](src/join.js)
- [ ] [juxt](src/juxt.js)
- [ ] [keysIn](src/keysIn.js)
- [ ] [last](src/last.js)
- [ ] [lastIndexOf](src/lastIndexOf.js)
- [ ] [length](src/length.js)
- [ ] [lens](src/lens.js)
- [ ] [lensIndex](src/lensIndex.js)
- [ ] [lensPath](src/lensPath.js)
- [ ] [lensProp](src/lensProp.js)
- [ ] [lift](src/lift.js)
- [ ] [liftN](src/liftN.js)
- [ ] [lt](src/lt.js)
- [ ] [lte](src/lte.js)
- [ ] [mapAccum](src/mapAccum.js)
- [ ] [mapAccumRight](src/mapAccumRight.js)
- [ ] [mapObjIndexed](src/mapObjIndexed.js)
- [ ] [match](src/match.js)
- [ ] [mathMod](src/mathMod.js)
- [ ] [max](src/max.js)
- [ ] [maxBy](src/maxBy.js)
- [ ] [mean](src/mean.js)
- [ ] [median](src/median.js)
- [ ] [memoizeWith](src/memoizeWith.js)
- [ ] [mergeAll](src/mergeAll.js)
- [ ] [mergeDeepLeft](src/mergeDeepLeft.js)
- [ ] [mergeDeepRight](src/mergeDeepRight.js)
- [ ] [mergeDeepWith](src/mergeDeepWith.js)
- [ ] [mergeDeepWithKey](src/mergeDeepWithKey.js)
- [ ] [mergeLeft](src/mergeLeft.js)
- [ ] [mergeWith](src/mergeWith.js)
- [ ] [mergeWithKey](src/mergeWithKey.js)
- [ ] [min](src/min.js)
- [ ] [minBy](src/minBy.js)
- [ ] [modulo](src/modulo.js)
- [ ] [move](src/move.js)
- [ ] [nAry](src/nAry.js)
- [ ] [negate](src/negate.js)
- [ ] [none](src/none.js)
- [ ] [not](src/not.js)
- [ ] [nthArg](src/nthArg.js)
- [ ] [o](src/o.js)
- [ ] [objOf](src/objOf.js)
- [ ] [of](src/of.js)
- [ ] [omit](src/omit.js)
- [ ] [on](src/on.js)
- [ ] [once](src/once.js)
- [ ] [or](src/or.js)
- [ ] [otherwise](src/otherwise.js)
- [ ] [over](src/over.js)
- [ ] [pair](src/pair.js)
- [ ] [partial](src/partial.js)
- [ ] [partialRight](src/partialRight.js)
- [ ] [partition](src/partition.js)
- [ ] [pathEq](src/pathEq.js)
- [ ] [paths](src/paths.js)
- [ ] [pathSatisfies](src/pathSatisfies.js)
- [ ] [pipeWith](src/pipeWith.js)
- [ ] [prepend](src/prepend.js)
- [ ] [product](src/product.js)
- [ ] [project](src/project.js)
- [ ] [promap](src/promap.js)
- [ ] [propEq](src/propEq.js)
- [ ] [propIs](src/propIs.js)
- [ ] [props](src/props.js)
- [ ] [propSatisfies](src/propSatisfies.js)
- [ ] [range](src/range.js)
- [ ] [reduceBy](src/reduceBy.js)
- [ ] [reduced](src/reduced.js)
- [ ] [reduceRight](src/reduceRight.js)
- [ ] [reduceWhile](src/reduceWhile.js)
- [ ] [remove](src/remove.js)
- [ ] [repeat](src/repeat.js)
- [ ] [reverse](src/reverse.js)
- [ ] [scan](src/scan.js)
- [ ] [sequence](src/sequence.js)
- [ ] [set](src/set.js)
- [ ] [sortWith](src/sortWith.js)
- [ ] [splitAt](src/splitAt.js)
- [ ] [splitEvery](src/splitEvery.js)
- [ ] [splitWhen](src/splitWhen.js)
- [ ] [splitWhenever](src/splitWhenever.js)
- [ ] [startsWith](src/startsWith.js)
- [ ] [subtract](src/subtract.js)
- [ ] [symmetricDifference](src/symmetricDifference.js)
- [ ] [symmetricDifferenceWith](src/symmetricDifferenceWith.js)
- [ ] [take](src/take.js)
- [ ] [takeLast](src/takeLast.js)
- [ ] [takeLastWhile](src/takeLastWhile.js)
- [ ] [takeWhile](src/takeWhile.js)
- [ ] [tap](src/tap.js)
- [ ] [test](src/test.js)
- [ ] [thunkify](src/thunkify.js)
- [ ] [times](src/times.js)
- [ ] [toPairsIn](src/toPairsIn.js)
- [ ] [toString](src/toString.js)
- [ ] [transduce](src/transduce.js)
- [ ] [transpose](src/transpose.js)
- [ ] [traverse](src/traverse.js)
- [ ] [tryCatch](src/tryCatch.js)
- [ ] [type](src/type.js)
- [ ] [unapply](src/unapply.js)
- [ ] [unary](src/unary.js)
- [ ] [uncurryN](src/uncurryN.js)
- [ ] [unfold](src/unfold.js)
- [ ] [union](src/union.js)
- [ ] [unionWith](src/unionWith.js)
- [ ] [uniq](src/uniq.js)
- [ ] [uniqBy](src/uniqBy.js)
- [ ] [uniqWith](src/uniqWith.js)
- [ ] [unless](src/unless.js)
- [ ] [until](src/until.js)
- [ ] [update](src/update.js)
- [ ] [useWith](src/useWith.js)
- [ ] [valuesIn](src/valuesIn.js)
- [ ] [view](src/view.js)
- [ ] [when](src/when.js)
- [ ] [where](src/where.js)
- [ ] [whereAny](src/whereAny.js)
- [ ] [whereEq](src/whereEq.js)
- [ ] [without](src/without.js)
- [ ] [xor](src/xor.js)
- [ ] [xprod](src/xprod.js)
- [ ] [zip](src/zip.js)
- [ ] [zipWith](src/zipWith.js)