# pure_counter

> Pure increment and decrement functionality components

Latest version **0.1.9** (published 2024-12-31) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 30/100 (F)** — status: maintenance-mode.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.9 |
| Published | 2024-12-31 |
| First published | 2023-07-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 17.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Yacos |
| Maintainers | yacos, nouridine |
| Keywords | react, date picker, calendar, component, UI, input, form, date selection, date control, JavaScript, TypeScript, frontend, counting |

## Links

- npm: https://www.npmjs.com/package/pure_counter
- Repository: https://github.com/Yacoubou-seidou/PureCounter
- Homepage: https://github.com/Yacoubou-seidou/PureCounter#readme
- Issues: https://github.com/Yacoubou-seidou/PureCounter/issues
- npm.io page: https://npm.io/package/pure_counter

## Dependencies (3)

- [react](https://npm.io/package/react.md) ^18.2.0
- [core-js](https://npm.io/package/core-js.md) ^3.39.0
- [react-dom](https://npm.io/package/react-dom.md) ^18.2.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.1.9 (latest) — 2024-12-31
- 0.1.8 — 2023-12-17
- 0.1.7 — 2023-07-21
- 0.1.6 — 2023-07-18
- 0.1.5 — 2023-07-17
- 0.1.4 — 2023-07-17
- 0.1.3 — 2023-07-17
- 0.1.2 — 2023-07-17
- 0.1.1 — 2023-07-17
- 0.1.0 — 2023-07-17

## README

# pure_counter

![Version](https://img.shields.io/npm/v/pure_counter.svg)
![License](https://img.shields.io/npm/l/pure_counter.svg)

> pure_counter is a collection of React components for implementing pure increment and decrement functionality. It provides customizable components that smoothly animate numerical values within a given range. With easy installation and usage, it offers a simple way to incorporate increment and decrement features into your React applications.


## Installation

You can install the package via npm:

```bash
npm install pure_counter
```

# Usage

```
import { PureIncrement, PureDecrement } from 'pure_counter';

// Example usage of PureIncrement
<PureIncrement start={0} end={10} duration={1} className="purecounter" />

// Example usage of PureDecrement
<PureDecrement start={10} end={0} duration={1} className="purecounter" />
```

# Props

## PureIncrement
| Prop     | Type     | Description        |
| -------- | -------- | --------           |
| start    | number   | The starting value |
| end      | number   | The ending value   |
| duration | number   | Duration in seconds|
| className| string   | CSS class name     |

## PureDecrement

| Prop     | Type     | Description        |
| -------- | -------- | --------           |
| start    | number   | The starting value |
| end      | number   | The ending value   |
| duration | number   | Duration in seconds|
| className| string   | CSS class name     |

## 👥 Authors <a name="authors"></a>

👤 **Yacoubou Seidou**

- GitHub: [yacoubou-seidou](https://github.com/yacoubou-seidou)
- Linkedin: [yacoubou-seidou](https://www.linkedin.com/in/yacoubou-seidou-chaibou/)
- Facebook: [yacoubou-seidou](https://www.facebook.com/Blackyacos.chaibou)

👤 **Mahamadou Nouridine**

- GitHub: [mahamadou-nouridine](https://github.com/mahamadou-nouridine)
- Linkedin: [mahamadou-nouridine](https://www.linkedin.com/in/mahamadou-nouridine)
- Twitter: [Nouridine_Dino](https://twitter.com/Nouridine_Dino)

## 🤝 Contributing <a name="contributing"></a>

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](https://github.com/Yacoubou-seidou/PureCounter/issues).

## License

This project is [MIT](./LICENSE) licensed.

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