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