DriftJS Ecosystem & Tooling
DriftJS provides a full suite of first-party tools to deliver a world-class developer experience across bundling, routing, linting, formatting, and editor tooling.
Ecosystem Packages
| Package | Name | Description |
|---|---|---|
driftjs-unplugin |
Build Plugin | Universal plugin (Vite, Rollup, Webpack, esbuild, Rspack) compiling .drift SFC files. |
driftjs-router |
Client SPA Router | Lightweight client-side router with HTML5 history, route guards, and nested routes. |
create-drift |
Project CLI | Interactive terminal generator for CSR, SSR, and SSG projects. |
driftjs-eslint-plugin |
ESLint Linter | Custom ESLint parser and rules for template scope and syntax validation. |
driftjs-prettier-plugin |
Prettier Formatter | Prettier plugin for formatting .drift SFC files with embedded JS/CSS support. |
driftjs-vscode |
VSCode Extension | Syntax highlighting, snippets, and Language Server Protocol (LSP) diagnostics. |
devtool |
DevTools Extension | Cross-browser DevTools extension for register VM, reactive scope, and bytecode debugging. |
Topics in this Section
- driftjs-unplugin: Universal bundler plugin and HMR mechanics.
- driftjs-router: SPA routing, navigation guards, and history drivers.
- create-drift CLI: Scaffolding project templates.
- driftjs-eslint-plugin: ESLint parser and custom lint rules.
- driftjs-prettier-plugin: Automatic code formatting for
.driftfiles. - driftjs-vscode: TextMate grammar and language server for VSCode.
- DriftJS DevTools: Register VM, reactive scope, and bytecode inspection.