0.0.6 • Published 9 years ago

es6-counter v0.0.6

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

counter

Counter class written in Javacript ES6. This is just a hello program for me.

Build Status License

Usage - API

Run command as below, and generated in docs dir.

$ npm run docs

Example

var c = new Counter();

for (let i = 0; i < 10; i++) {
  c.increment();
}
console.log(c.getValue()); //=> 10

c.decrement(); //=> 9

License

MIT