Notorious Party Muppets

    intertron

    1.0.1 • Public • Published

    Intertron

    A way to expose functions to your Electron renderer process, to be used with Intertron Client

    npm install intertron

    const Intertron = require('intertron')
     
    class DoSomething {
      static method(arg1, cb) {
        setTimeout(() => {
          cb(null, 'res')
        }, 100)
      }
    }
     
    new Intertron({ DoSomething })

    And then the client will be able to call that method seamlessly as specified in Intertron Client

    Install

    npm i intertron

    DownloadsWeekly Downloads

    2

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • luisivan