listpackage
v1.0.3
Published
List package!
Downloads
2
Readme
ListPackage
- Counter and more!
Using Counter:
// importing a listpackage module
const {Counter} = require('listpackage')
// creating a counter
var list = new Counter({
'name':'test',
'notify':true
})
list.set(12) // seting 12 on counter
list.remove(12)// removing 12 on counter
list.add(2) //adding 2 on counter
list.add(1000)// adding 1000 in counter
console.log(list.value) // returning value of counter