# iterateit

> Iterator to iterate over array and return singular object in each iteration

Latest version **1.0.1** (published 2017-01-24) · ISC license · 0 weekly downloads

## Install

```sh
npm install iterateit
pnpm add iterateit
yarn add iterateit
bun add iterateit
```

## 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.1 |
| Published | 2017-01-24 |
| First published | 2017-01-24 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Pardeep Dhingra |
| Maintainers | railites |

## Links

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

## Dependencies (3)

- [react](https://npm.io/package/react.md) ^15.4.2
- [pluralize](https://npm.io/package/pluralize.md) ^3.1.0
- [react-dom](https://npm.io/package/react-dom.md) ^15.4.2

## Recent versions

- 1.0.1 (latest) — 2017-01-24

## README

# Iterator

*Dependencies:*
[pluralize](https://www.npmjs.com/package/pluralize)

*DEMO:*

```
import React, { Component } from 'react';
import Iterator from 'iterateit';

const Post = ({post}) =>  {
  return (
    <div>
      <h1>{post.title}</h1>
      <p>{post.content}</p>
    </div>
  );
}

class Demo extends Component {
  render() {
    let sampleData = [
      {
        title: "Angular vs Reactjs",
        content: "this test is content for testing"
      },
      {
        title: "Redux to manage state",
        content: "this test is content for testing"
      },
      {
        title: "Angular",
        content: "this test is content for testing"
      }
    ];
    return (
      <div className="App">
        <Iterator name="posts" iterate={sampleData}>
          <Post />
        </Iterator>
      </div>
    );
  }
}

export default Demo;
```

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