1.0.0 • Published 4 years ago
tenet.js v1.0.0
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
1.0.0
4 years ago