# intertron

> IPC for Electron

Latest version **1.0.1** (published 2016-12-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install intertron
pnpm add intertron
yarn add intertron
bun add intertron
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2016-12-16 |
| First published | 2016-12-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Luis Cuende |
| Maintainers | luisivan |
| Keywords | electron, ipc, communication |

## Links

- npm: https://www.npmjs.com/package/intertron
- Repository: https://github.com/AragonOne/intertron
- Homepage: https://github.com/AragonOne/intertron#readme
- Issues: https://github.com/AragonOne/intertron/issues
- npm.io page: https://npm.io/package/intertron

## Recent versions

- 1.0.1 (latest) — 2016-12-16
- 1.0.0 — 2016-12-16

## README

# Intertron

A way to expose functions to your Electron renderer process, to be used with [Intertron Client](https://github.com/AragonOne/intertron-client)

`npm install intertron`

```javascript
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](https://github.com/AragonOne/intertron-client)

---
_Source: https://npm.io/package/intertron · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
