Non-Polynomial Mantissa

    uvm

    2.0.2 • Public • Published

    UVM Build Status codecov

    Module that exposes an event emitter to send data across contexts (VM in Node.js and Web Workers in browser).

    Installation

    UVM can be installed using NPM or directly from the git repository within your NodeJS projects. If installing from NPM, the following command installs the module and saves in your package.json

    $ npm install uvm --save

    Usage

    let uvm = require('uvm'),
        context;
    
    context = uvm.spawn({
        bootCode: `
            bridge.on('loopback', function (data) {
                bridge.dispatch('loopback', data + ' World!');
            });
        `
    });
    
    context.on('loopback', function (data) {
        console.log(data); // Hello World!
    });
    
    context.dispatch('loopback', 'Hello');

    Install

    npm i uvm

    DownloadsWeekly Downloads

    418,110

    Version

    2.0.2

    License

    Apache-2.0

    Unpacked Size

    42.8 kB

    Total Files

    12

    Last publish

    Collaborators

    • shamasis
    • kamalaknn
    • kunagpal
    • codenirvana