@vizejs/native

High-performance Vue.js compiler - Native bindings
188,874 909
Install
npm install @vizejs/native
Latest Version:0.519.0
License:MIT
Last Updated:Oct 21, 2026
Links: GitHub  ·  npm
Maintainer: ubugeeei

@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

@vizejs/native-linux-x64-gnu

High-performance Vue.js compiler - Native bindings

214,588 909
@vizejs/native-linux-x64-musl

High-performance Vue.js compiler - Native bindings

119,060 909
@vizejs/native-darwin-arm64

High-performance Vue.js compiler - Native bindings

74,081 908
@vizejs/native-win32-x64-msvc

High-performance Vue.js compiler - Native bindings

72,616 908
@vizejs/native-linux-arm64-gnu

High-performance Vue.js compiler - Native bindings

70,350 908

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
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