# prop-assign

> Assign a value to a property in an Array iterator

Latest version **1.0.0** (published 2015-07-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install prop-assign
pnpm add prop-assign
yarn add prop-assign
bun add prop-assign
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2015-07-30 |
| First published | 2015-07-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Stephen Sawchuk |
| Maintainers | stephenplusplus |
| Keywords | array, iterator, functional, property, prop, propprop, methmeth |

## Links

- npm: https://www.npmjs.com/package/prop-assign
- npm.io page: https://npm.io/package/prop-assign

## Recent versions

- 1.0.0 (latest) — 2015-07-30

## README

# prop-assign
> Assign a value to a property in an Array iterator

```sh
$ npm install --save prop-assign
```
```js
var propAssign = require('prop-assign');

var users = [
  { id: 1, name: 'Dave' },
  { id: 2, name: 'Stephen' }
];

users.map(propAssign('time', Date.now()));
// [
//   { id: 1, name: 'Dave', time: [Date] },
//   { id: 2, name: 'Stephen', time: [Date] },
// ]
```

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