@vizejs/native
@vizejs/native
Native Node.js bindings for the Vize Vue compiler via NAPI.
Features
- Maximum Performance - Native Rust speed in Node.js
- Multi-threaded - Parallel compilation support
- Low Overhead - Direct NAPI bindings, no IPC
Installation
Install vp once from the Vite+ install guide, then add the package:
vp install @vizejs/native
Usage
import { compile, compileFiles } from "@vizejs/native";
// Single file
const result = compile(source, { filename: "App.vue" });
// Multiple files (parallel)
const results = compileFiles(["src/App.vue", "src/components/Button.vue"], { threads: 4 });
Platform Support
| Platform | Architecture | Status |
|---|---|---|
| Linux | x64, arm64 | ✓ |
| macOS | x64, arm64 | ✓ |
| Windows | x64 | ✓ |
License
MIT
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 0.519.0 | MIT | |
| 0.518.0 | MIT | |
| 0.517.0 | MIT | |
| 0.516.0 | MIT | |
| 0.515.0 | MIT | |
| 0.514.0 | MIT | |
| 0.513.0 | MIT | |
| 0.512.0 | MIT | |
| 0.511.0 | MIT | |
| 0.510.0 | MIT | |
| 0.509.0 | MIT | |
| 0.508.0 | MIT | |
| 0.507.0 | MIT | |
| 0.506.0 | MIT | |
| 0.504.0 | MIT | |
| 0.503.0 | MIT | |
| 0.502.0 | MIT | |
| 0.501.0 | MIT | |
| 0.500.0 | MIT | |
| 0.499.0 | MIT | |
| 0.498.0 | MIT | |
| 0.497.0 | MIT | |
| 0.496.0 | MIT | |
| 0.495.0 | MIT | |
| 0.494.0 | MIT | |
| 0.493.0 | MIT | |
| 0.492.0 | MIT | |
| 0.491.0 | MIT | |
| 0.490.0 | MIT | |
| 0.489.0 | MIT |
Showing the latest 30 of 428. See every release on npm
Pre-releases (57)
| Version | Released | License |
|---|---|---|
| 0.0.1-alpha.121 | MIT | |
| 0.0.1-alpha.120 | MIT | |
| 0.0.1-alpha.119 | MIT | |
| 0.0.1-alpha.118 | MIT | |
| 0.0.1-alpha.114 | MIT | |
| 0.0.1-alpha.113 | MIT | |
| 0.0.1-alpha.112 | MIT | |
| 0.0.1-alpha.108 | MIT | |
| 0.0.1-alpha.107 | MIT | |
| 0.0.1-alpha.106 | MIT | |
| 0.0.1-alpha.105 | MIT | |
| 0.0.1-alpha.104 | MIT | |
| 0.0.1-alpha.103 | MIT | |
| 0.0.1-alpha.102 | MIT | |
| 0.0.1-alpha.101 | MIT | |
| 0.0.1-alpha.100 | MIT | |
| 0.0.1-alpha.99 | MIT | |
| 0.0.1-alpha.98 | MIT | |
| 0.0.1-alpha.88 | MIT | |
| 0.0.1-alpha.87 | MIT | |
| 0.0.1-alpha.86 | MIT | |
| 0.0.1-alpha.85 | MIT | |
| 0.0.1-alpha.84 | MIT | |
| 0.0.1-alpha.83 | MIT | |
| 0.0.1-alpha.82 | MIT | |
| 0.0.1-alpha.81 | MIT | |
| 0.0.1-alpha.80 | MIT | |
| 0.0.1-alpha.79 | MIT | |
| 0.0.1-alpha.78 | MIT | |
| 0.0.1-alpha.77 | MIT |
Showing the latest 30 of 57. See every release on npm