tenet.js
v1.0.0
Published
Inverts the entropy of objects
Downloads
3
Readme
Tenet.js
Inverts the entropy of objects
Why?
To rewind the flow of time, and save the world, somehow.
Usage
- Initialize
Tenet
object
const obj = Tenet(1) // or `new Tenet(1)`
- Apply function to the object
obj.apply(x => x + 1)
obj.value // 2
- Invert the object
obj.invert()
obj.value // 1