Skip to content

Lightweight javascript reactive programming library

License

Notifications You must be signed in to change notification settings

caracal7/axon.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

axon.js

Lightweight javascript reactive programming library

Browser

<!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>

Node.js

Installation

npm i @caracal7/axon.js

Usage

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;

Credits

Library was inspired by topologica.

JS.ORG Logo

About

Lightweight javascript reactive programming library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published