UNPKG

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
<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!