rightrc
v0.0.6
Published
right helper
Downloads
5
Readme
Rightrc
Identity right holder and saver for hobby AI projects.
init
const right = new (require('rightrc')).base();
Set power
note : higher is less
right.setPower($power_integer$);
//return boolean
Get power
right.getPower();
//return integer
Check power
right.checkPower($power_integer$);
//return boolean
Add id or hash
right.add($id_hash$);
//return boolean
Del id or hash
right.del($id_hash$);
//return boolean
list id or hash
right.list();
//return list array of hashes
Check Id
right.checkId($id_hash$);
//return boolean
Check Any
right.checkId($id_hash_or_integer_or_array_of_elements$);
//return boolean