# lens.over

> over(lens, fn, data)

Latest version **0.0.1-alpha.2** (published 2017-09-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install lens.over
pnpm add lens.over
yarn add lens.over
bun add lens.over
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1-alpha.2 |
| Published | 2017-09-22 |
| First published | 2017-09-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | alvinsj |
| Maintainers | alvinsj |

## Links

- npm: https://www.npmjs.com/package/lens.over
- Repository: https://github.com/blacktangent/lens
- Homepage: https://github.com/blacktangent/lens#readme
- Issues: https://github.com/blacktangent/lens/issues
- npm.io page: https://npm.io/package/lens.over

## Dependencies (2)

- [invariant](https://npm.io/package/invariant.md) ^2.2.2
- [immutability-helper](https://npm.io/package/immutability-helper.md) ^2.4.0

## Recent versions

- 0.0.1-alpha.2 (latest) — 2017-09-22
- 0.0.1-alpha.1 — 2017-09-21

## README

# lens.over

Following implementation of [`ramda.over`](http://ramdajs.com/docs/#over)

## example
```js
const helloWorld = {hello: [{place: 'world'}]}

const lensPath = ['hello', 0, 'place'];
const helloBigWorld = over(lensPath, (i) => i.toUpperCase(), helloWorld);

console.log(helloBigWorld); // {hello: [{place: 'WORLD'}]}
console.log(helloWorld === helloBigWorld); // false
```

---
_Source: https://npm.io/package/lens.over · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
