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.
85 lines (57 loc) โข 3.17 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>
<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>
</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!