vite-plugin-native-modules
JSON →Vite plugin (v2.2.1) for seamless integration of Node.js native modules (.node files) into Vite builds. Supports Electron, node-gyp-build, and bindings package patterns. Offers automatic file hashing, cache busting, and zero-config setup for most use cases. Compatible with Vite 3–7. Key differentiator: resolves native module imports in Vite/Rollup, which unlike Webpack, lack built-in .node file handling. Includes support for NAPI-RS and custom native file extensions since v2.2.0.
Traffic · last 30 days stale · no recent hits
total hits 26
actors 6 distinct systems
last hit 16d ago human
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇫🇷 France · AR · 🇧🇷 Brazil
Resources
API endpoints
compatibility /v1/registry/vite-plugin-native-modules/compatibility