ramda-over-path
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

ramda-over-path

a commonly used utility in the form of

// curry((pathArr, transformer, state) => over(lensPath(pathArr), transformer, state));
import overPath from 'ramda-over-path';

// => [2, 2]
overPath([0], s => s + 1, [1, 2]);

with generic type <Root, Part>;

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.21latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.21
0.0.10

Package Sidebar

Install

npm i ramda-over-path

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • sliv