Lightweight javascript reactive programming library
<!DOCTYPE html>
<html>
<head>
<script src="axon.js"></script>
</head>
<body>
<script>
const axon = new Axon();
axon.b = a => a + 1;
axon.c = b => b + 1;
axon.d = a => a + 1;
axon.e = (b, d) => b + d;
axon.log = e => console.warn('Answer of life is', e);
axon.a = 5;
</script>
</body>
</html>
npm i @caracal7/axon.js
const Axon = require('@caracal7/axon.js');
const axon = new Axon();
axon.b = a => a + 1;
axon.c = b => b + 1;
axon.d = a => a + 1;
axon.e = (b, d) => b + d;
axon.log = e => console.warn('Answer of life is', e);
axon.a = 5;
Library was inspired by topologica
.