tiny-electron-essentials
Version:
A lightweight and modular utility library for Electron apps, offering simplified window management, tray support, IPC channels, and custom frameless window styling.
104 lines (71 loc) β’ 4.02 kB
Markdown
<div align="center">
<p>
<a href="https://discord.gg/TgHdvJd"><img src="https://img.shields.io/discord/413193536188579841?color=7289da&logo=discord&logoColor=white" alt="Discord server" /></a>
<a href="https://www.npmjs.com/package/tiny-electron-essentials"><img src="https://img.shields.io/npm/v/tiny-electron-essentials.svg?maxAge=3600" alt="NPM version" /></a>
<a href="https://www.npmjs.com/package/tiny-electron-essentials"><img src="https://img.shields.io/npm/dt/tiny-electron-essentials.svg?maxAge=3600" alt="NPM downloads" /></a>
</p>
<p>
<a href="https://www.patreon.com/JasminDreasond"><img src="https://img.shields.io/badge/donate-patreon-F96854.svg?logo=patreon" alt="Patreon" /></a>
<a href="https://ko-fi.com/jasmindreasond"><img src="https://img.shields.io/badge/donate-ko%20fi-29ABE0.svg?logo=ko-fi" alt="Ko-Fi" /></a>
<a href="https://chain.so/address/BTC/bc1qnk7upe44xrsll2tjhy5msg32zpnqxvyysyje2g"><img src="https://img.shields.io/badge/donate-bitcoin-F7931A.svg?logo=bitcoin" alt="Bitcoin" /></a>
<a href="https://chain.so/address/LTC/ltc1qchk520v4u8334n5dntmgeja55gc5g5rrkgpd4f"><img src="https://img.shields.io/badge/donate-litecoin-345D9D.svg?logo=litecoin" alt="Litecoin" /></a>
</p>
<p>
<a href="https://nodei.co/npm/tiny-electron-essentials/"><img src="https://nodei.co/npm/tiny-electron-essentials.png?downloads=true&stars=true" alt="npm installnfo" /></a>
</p>
</div>
# π Tiny-Electron-Essentials
A modular toolkit for simplifying Electron app development.
Provides a set of reusable helpers to manage windows, tray, IPC, notifications, and more with clean and consistent APIs.
## π§ What is this?
**`tiny-electron-essentials`** is a minimalistic utility library designed to speed up the development of Electron applications.
It offers reliable helpers for:
* πͺ Window creation and management
* π₯οΈ Tray icon control
* π IPC event handling
* π Native notifications
* ποΈ CSS-based custom window frames
* π₯ App lifecycle control with single-instance locks
* π Proxy management, file loaders, and more
Everything is built with clarity and extensibility in mind.
## π¦ NPM Module
```bash
npm install tiny-electron-essentials
```
## π Project Structure
| Folder | Description |
| ------------ | -------------------------------------------------------- |
| **`src/`** | π§ Main source code for the entire module |
| **`tests/`** | π§ͺ Automated tests for core functionality |
| **`docs/`** | π Full documentation with API descriptions and examples |
## π Documentation
Full documentation is available in the [`docs/`](./docs) folder.
> βοΈ Includes detailed explanations for all modules:
> Global utilities, Main process controllers, Preload IPC bridges, and more.
## π Useful Links
* π§ [View Documentation](./docs)
* π¦ [tiny-electron-essentials on npm](https://www.npmjs.com/package/tiny-electron-essentials)
## π οΈ Requirements
* Electron v23 or higher
* Node.js v18 or higher
## π License
This project is licensed under the GPL-3.0 License - see the [LICENSE](LICENSE) file for details.
> π§ **Note**: This documentation was written by [ChatGPT](https://openai.com/chatgpt), an AI assistant developed by OpenAI, based on the project structure and descriptions provided by the repository author.
> If you find any inaccuracies or need improvements, feel free to contribute or open an issue!
## π Back to Tiny Essentials
Did you like this module? Itβs part of the **Tiny Essentials** collection β a set of minimal yet powerful tools to make development easier.
π [Click here to explore more Tiny Essentials modules](https://github.com/JasminDreasond/Tiny-Essentials)
<div align="center">
<a href="./md-assets/img/"><img src="./md-assets/img/6c2df338-5257-4a2d-9dea-14f9f4ae8aba2.png" height="300" /></a>
<br/>
Made with tiny love!
</div>