electron-native-addon-builder

Solid

Build and bundle native Node.js addons for Electron with proper ABI compatibility, cross-compilation support, and rebuild automation

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# electron-native-addon-builder Build and bundle native Node.js addons for Electron with proper ABI (Application Binary Interface) compatibility. This skill handles the complexity of native module compilation, cross-platform building, and ensuring modules work correctly with Electron's Node.js version. ## Capabilities - Configure electron-rebuild for native module compilation - Set up node-gyp with Electron headers - Handle cross-platform compilation (Windows, macOS, Linux) - Manage ABI compatibility between Electron and native modules - Configure prebuild/prebuild-install for binary distribution - Set up N-API modules for version-independent builds - Handle architecture-specific builds (x64, arm64, ia32) - Integrate with electron-builder for packaging ## Input Schema ```json { "type": "object", "properties": { "projectPath": { "type": "string", "description": "Path to the Electron project root" }, "nativeModules": { "type": "array", "description": "List of native modules to handle", "items": { "type": "object", "properties": { "name": { "type": "string" }, "version": { "type": "string" }, "source": { "enum": ["npm", "local", "github"] } } } }, "electronVersion": { "type": "string", "description": "Target Electron version" }, "targetPlatforms": { "type": "array", "items": { "enum": ["win32", "darwin", "linux"] } }, "tar...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills