counter716

1.0.1 • Public • Published

Very simple counter

Can do simple operations with counter: increment, decrement, reset, get and set counter value.

Install:

npm install counter716

Test:

npm test

Lint:

npm run lint

Use:

var counter = require('counter716');

//set value
counter.setValue(42);

//get value
var counterValue = counter.getValue(); 

//increment value
counter.increment();

//decrement value
counter.decrement();

//reset value
counter.reset(); // set counter value to zero

Readme

Keywords

none

Package Sidebar

Install

npm i counter716

Weekly Downloads

0

Version

1.0.1

License

ISC

Last publish

Collaborators

  • dima716