Vertigo.js - lightweight JavaScript framework for creating ports localy
Open your terminal and enter this command:
npm install vertigo-js --save-dev
Waiting for installation... profit!
Firstly, we need to link vertigo package
const vertigo = require('vertigo-js');
And now let's create a simple port
vertigo.create('test-port', console.log);
The second parameter - is a callback function. You can enter there your own function to output the result
Star this GitHub repository ⭐