Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/onokumus/mcount
- Owner: onokumus
- Created: 2015-07-30T23:03:56.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-07-24T19:25:51.000Z (over 8 years ago)
- Last Synced: 2024-05-22T07:04:56.311Z (8 months ago)
- Language: HTML
- Homepage: http://onokumus.github.io/mcount/
- Size: 4.88 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)