# vue-count

> a plugin of count for vue.js

Latest version **1.0.6** (published 2017-02-11) · 0 weekly downloads

## Install

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

## 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.6 |
| Published | 2017-02-11 |
| First published | 2017-01-17 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 4.0.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | monine |
| Maintainers | agu |

## Links

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

## Dependencies (1)

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

## Recent versions

- 1.0.6 (latest) — 2017-02-11
- 1.0.5 — 2017-01-18
- 1.0.4 — 2017-01-17
- 1.0.3 — 2017-01-17
- 1.0.2 — 2017-01-17
- 1.0.1 — 2017-01-17

## README

# vue-count
> a plugin of count for Vue.js

## Installation

- `<script>` Include

  Just include `vue-count.js` after Vue itself.

- With Modules

  `npm install --save-dev vue-count`
  
  ```
  // ES6
  // use Vue.use()
  import Vue from 'vue'
  import VueCount from 'vue-count'
  Vue.use(VueCount)
  
  // or use component
  import VueCount from 'vue-count'
  component: {
    VueCount
  }
  
  ```
  
## Component Properties
  
- ### `min` required
  
  `Number`
  
  The number of minimum value
  
- ### `max` required

  `Number`
  
  The number of max value
  
- ### `options`

  `Object`
  
  - #### `duration`
  
    `Number`
    
    Default: `2`
  
    The count duration (unit for seconds)
  
  - #### `reverse`
  
    `Boolean`
    
    Default: `false`
  
    The number from min to max or from max to min
    
  - #### `decimal`
  
    `Number`
    
    Default: `0`
    
    The places of how many decimal to keep

  - #### 'useGroup'
  
    `Boolean`
    
    Default: `false`
    
    Whether to use group

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