vx_tool_node/
lib.rs

1//! Node.js tool support for vx
2
3use vx_plugin::VxPlugin;
4
5mod config;
6mod plugin;
7mod tool;
8
9pub use config::{
10    create_install_config, get_install_methods, get_manual_instructions, supports_auto_install,
11    Config, NodeUrlBuilder,
12};
13pub use plugin::NodePlugin;
14pub use tool::{NodeTool, NpmTool, NpxTool};
15
16/// Create a new Node.js plugin instance
17pub fn create_plugin() -> Box<dyn VxPlugin> {
18    Box::new(NodePlugin)
19}