ravyn-framework
v1.4.10
Published
Electron window management framework
Readme
Ravyn
A modern Electron-based application framework with hot-reloading capabilities, available as an npm package.
Features
- Hot module replacement for rapid development
- Configurable window management
- Built-in logging system
- Preload script support
- URL handling capabilities
Quick Start
- Install the package:
npm install ravyn # or yarn add ravyn - Import and use in your Electron app:
import { whenReady, defineWindowConfig } from 'ravyn'; whenReady().then(() => { defineWindowConfig({ // Your window configuration }); });
Configuration
Edit src/config.ts to customize:
- Window defaults
- Development settings
- Logger preferences
API Reference
Exported Functions
whenReady(): Returns a Promise that resolves when Electron is readydefineWindowConfig(config): Defines window configuration optionsenableHotReload(): Enables hot module replacementconfigureLogger(options): Configures the built-in logger
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
