Preparing for system design interviews?  Try bugzed.com →

rollup-plugin-native

JSON →
library 1.2.16 ·javascript
verified Jun 18, 2026

A Rollup plugin that enables importing native .node modules (N-API addons) by resolving platform-specific binary paths during bundling. Version 1.2.16, last updated in 2024, with low release cadence (no breaking changes in recent versions). It uses substitution patterns like ${nodePlatform} and ${nativeArchitecture} to dynamically select the correct precompiled binary for the current OS/arch, avoiding the need for node-gyp at runtime. Differentiators: simplifies cross-platform native module bundling without manual conditional requires, and integrates directly into Rollup's plugin system. No other known alternative for Rollup-focused native module import.

total hits 15
actors 5 distinct systems
last hit 24d ago MJ12bot
GPTBot
4
ClaudeBot
2
Script
1
Humans
4

top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇩🇪 Germany · 🇬🇧 United Kingdom