# ucounter

> - Simple npm library which provides api for counter and can be accessed from anywhere. - This is demo created while learning TDD way of working.

Latest version **1.0.2** (published 2023-01-21) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2023-01-21 |
| First published | 2023-01-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 52.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | mayank_tomar |

## Links

- npm: https://www.npmjs.com/package/ucounter
- Repository: https://github.com/mstomar698/ucounter
- Homepage: https://github.com/mstomar698/ucounter#readme
- Issues: https://github.com/mstomar698/ucounter/issues
- npm.io page: https://npm.io/package/ucounter

## Dependencies (1)

- [microbundle](https://npm.io/package/microbundle.md) ^0.15.1

## Recent versions

- 1.0.2 (latest) — 2023-01-21

## README

# streak-counter

- Simple npm library which provides api for counter and can be accessed from anywhere.
- This is demo created while learning TDD way of working.

### To Install From NPM

```powershell
yarn add ucounter
# OR
npm install ucounter
```

### Usage

```JS
import { streakCounter } from 'ucounter'

const today = new Date()
const streak = streakCounter(localStorage, today)

// This will return an object with count
```

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