1.0.3 • Published 3 years ago
listpackage v1.0.3
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
1.0.3
3 years ago
1.0.2--resolve2
3 years ago
1.0.2--resolve1
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago