# countcharsocurrences

> Count how many times each character appears on string

Latest version **1.1.2** (published 2016-09-05) · MIT license · 0 weekly downloads

## Install

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

## 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.1.2 |
| Published | 2016-09-05 |
| First published | 2016-09-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Abner Soares Alves Junior |
| Maintainers | abnersajr |
| Keywords | chars, counter |

## Links

- npm: https://www.npmjs.com/package/countcharsocurrences
- Repository: https://github.com/abnersajr/countCharsOcurrences
- Homepage: https://github.com/abnersajr/countCharsOcurrences#readme
- Issues: https://github.com/abnersajr/countCharsOcurrences/issues
- npm.io page: https://npm.io/package/countcharsocurrences

## Recent versions

- 1.1.2 (latest) — 2016-09-05
- 1.0.0 — 2016-09-04

## README

# countCharsOcurrences
:pencil: Count  how many times each character appears on string.
It's a simple package, but if you need to count how many times each character occurs in a big text you can use.

Can be used with CommonJS, AMD or vannila JS in browser.

## Example

```javascript

// not  case sensitive example
countCharsOcurrences('ABcC'); // {"A":1,"B":1,"C":2}

// case sensitive example, converts all to upper case
countCharsOcurrences('ABcC', true); //{"A":1,"B":1,"c":1,"C":1}

```

## License

Realease under [MIT License](https://abnersajr.mit-license.org 'See MIT License')

## Contributors

Thanks [Gabriel Reitz Giannattasio](https://github.com/gartz) for the simple version

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