create-lenses

1.0.0 • Public • Published

This project is inspired by:

Thinking in Ramda Lenses Zooming in to Lenses Ramda

This library provides the ability to create lenses over objects only One can use the functions prop and path to create getters over objects and the functions assoc and assocPath to create getters over them.

The functions lens , lensProp and lensPath can be used to create lenses with the latter two being conveniance options.

Once a lens has been created one can use the functions view, set and over to get, set and update the value of a property immutably

Readme

Keywords

none

Package Sidebar

Install

npm i create-lenses

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

15.1 kB

Total Files

5

Last publish

Collaborators

  • vamsiampolu