# vue-chunk

> Split an array into chunks using this custom filter for Vue.js.

Latest version **1.0.0** (published 2015-08-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-chunk
pnpm add vue-chunk
yarn add vue-chunk
bun add vue-chunk
```

## 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-08-25 |
| First published | 2015-08-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Thomas Kim |
| Maintainers | thomastkim |
| Keywords | vue, vuejs, vue-chunk, filter, array, chunk |

## Links

- npm: https://www.npmjs.com/package/vue-chunk
- Repository: https://github.com/thomastkim/vue-chunk
- Issues: https://github.com/thomastkim/vue-chunk/issues
- npm.io page: https://npm.io/package/vue-chunk

## Dependencies (1)

- [vue](https://npm.io/package/vue.md) ^0.12.10

## Recent versions

- 1.0.0 (latest) — 2015-08-25

## README

# vue-chunk

Split an array into chunks using this custom filter for Vue.js.

## Getting Started

With [npm](http://npmjs.org)
```bash
$ npm install vue-chunk --save
```

### Direct include

If you are using Vue globally, just include vue-chunk.js, and it will automatically install the chunk filter.

### CommonJS
```js
Vue.use(require('vue-chunk')); // Filter is now available globally
```

## Usage

Meant to be used with v-repeat, this filter splits the array of data into smaller chunks of data. It accepts one argument, which specifies the size of the chunks of data. For example...

```html
<div v-repeat="row: rows | chunk 4">
	<div v-repeat="item: row">
		{{ item }}
	</div>
</div>
```

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