Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mnmly/minimal-counter
minimal counter
https://github.com/mnmly/minimal-counter
Last synced: about 2 months ago
JSON representation
minimal counter
- Host: GitHub
- URL: https://github.com/mnmly/minimal-counter
- Owner: mnmly
- Created: 2013-01-01T22:25:08.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2019-04-05T11:32:01.000Z (over 5 years ago)
- Last Synced: 2024-07-31T20:44:15.378Z (5 months ago)
- Language: JavaScript
- Size: 140 KB
- Stars: 65
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- Changelog: History.md
Awesome Lists containing this project
- awesome - mnmly/minimal-counter - minimal counter (JavaScript)
README
# minimal-counter
minimal counter
☞ [Demo]
[Demo]: http://mnmly.github.com/minimal-counter/
## Installation
$ component install mnmly/minimal-counter
## Usage
```javascript
var MinimalCounter = require( 'minimal-counter' ),
minimalCounter = new MinimalCounter( 100 );
document.body.appendChild( minimalCounter.el );
minimalCounter.update( 80 );```
## API
### MinimalCounter::update
Updates to the number
## License
MIT