Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/loque/peranta
HTTP-like API for inter-process communication (IPC) in Javascript
https://github.com/loque/peranta
electron express http inter-process-communication ipc koa web-worker webworker
Last synced: about 1 month ago
JSON representation
HTTP-like API for inter-process communication (IPC) in Javascript
- Host: GitHub
- URL: https://github.com/loque/peranta
- Owner: loque
- License: mit
- Created: 2016-11-18T21:35:20.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-02T13:52:23.000Z (almost 7 years ago)
- Last Synced: 2024-09-26T05:42:37.195Z (3 months ago)
- Topics: electron, express, http, inter-process-communication, ipc, koa, web-worker, webworker
- Language: JavaScript
- Homepage:
- Size: 58.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Peranta
Handling IPC messages can be a pain if you are building an app with a very active communication between processes.
Instead of reinventing the wheel `Peranta` aims to reduce the learning curve by reimplementing well known patterns such as those used for routing in [Express](https://github.com/expressjs/express) on the server side and a `Promise`-based API on the client side.This is the core package of `peranta` which provides IPC and routing management. In order to use it, instead of this package you will have to install an adapter depending on the scenario.
These are the adapters currently available:
* [peranta-electron](https://github.com/loque/peranta-electron) for handling IPC between the main process and the renderer process.
* [perante-worker](https://github.com/loque/peranta-worker) for handling IPC between a web worker and the main thread.## Documentation
* [Server](docs/api/server.md)
* [Client](docs/api/client.md)
* [Routing](docs/api/routing.md)
* [Request](docs/api/request.md)
* [Response](docs/api/response.md)## License
[MIT](LICENSE)