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.

104 lines (71 loc) β€’ 4.02 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> </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>