Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/onokumus/mcount

A basic javascript countdown
https://github.com/onokumus/mcount

Last synced: about 2 months ago
JSON representation

A basic javascript countdown

Awesome Lists containing this project

README

        

# mcount
[![NPM version](https://badge.fury.io/js/mcount.svg)](http://badge.fury.io/js/mcount) [![Bower version](https://badge.fury.io/bo/mcount.svg)](http://badge.fury.io/bo/mcount)

> Simple, easy, lightweight countdown plugin with moment.js

## Install

- bower `bower install mcount`
- npm `npm install mcount`
- github [mcount](https://github.com/onokumus/mcount/archive/master.zip)

## Setup

#### add data-mcount attribute html file

```html






```

#### load moment.js

```html

```

#### create config file

```javascript
var mcountConfig = {
end: moment('2019-03-20'),
start: moment('2015-08-01')
};
```

#### load mcount plugin

```html

```

## License

MIT © [onokumus](https://github.com/onokumus)