Skip to content

mstomar698/ucounter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

yarn add ucounter
# OR
npm install ucounter

Usage

import { streakCounter } from 'ucounter'

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

// This will return an object with count

About

This is demo created while learning TDD way of working.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published