# @feizheng/next-tree-walk

> Tree data walker.

Latest version **1.0.8** (published 2020-09-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install @feizheng/next-tree-walk
pnpm add @feizheng/next-tree-walk
yarn add @feizheng/next-tree-walk
bun add @feizheng/next-tree-walk
```

## 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.8 |
| Published | 2020-09-04 |
| First published | 2019-11-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | afei |
| Maintainers | afeiship |

## Links

- npm: https://www.npmjs.com/package/@feizheng/next-tree-walk
- Homepage: https://github.com/afeiship/next-tree-walk
- npm.io page: https://npm.io/package/@feizheng/next-tree-walk

## Recent versions

- 1.0.8 (latest) — 2020-09-04
- 1.0.7 — 2020-09-02
- 1.0.6 — 2020-09-02
- 1.0.5 — 2020-04-05
- 1.0.3 — 2020-02-16
- 1.0.2 — 2020-02-15
- 1.0.0 — 2019-11-27

## README

# next-tree-walk
> Tree data walker.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @feizheng/next-tree-walk
```

## usage
```js
import '@feizheng/next-tree-walk';

class MyComponent extends React.Component{
  get childView(){
    const { items, itemsKey, template } = this.props;
    return nx.treeWalk(items, { template, 'children' });
  }

  render(){
    return (
      <div>
        {this.childView}
      </div>
    )
  }
}
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-tree-walk/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@feizheng/next-tree-walk
[version-url]: https://npmjs.org/package/@feizheng/next-tree-walk

[license-image]: https://img.shields.io/npm/l/@feizheng/next-tree-walk
[license-url]: https://github.com/afeiship/next-tree-walk/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@feizheng/next-tree-walk
[size-url]: https://github.com/afeiship/next-tree-walk/blob/master/dist/next-tree-walk.min.js

[download-image]: https://img.shields.io/npm/dm/@feizheng/next-tree-walk
[download-url]: https://www.npmjs.com/package/@feizheng/next-tree-walk

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