---
url: /docs/guide/usage/resolver.md
---

# 解析器

一个高性能的模块解析器，主要支持 Node.js 解析算法，并且可配置。

## Features

* All configurations are consistent with [webpack/enhanced-resolve][url-enhanced-resolve].
* 28 times faster than [webpack/enhanced-resolve][url-enhanced-resolve] ([benchmark](https://github.com/oxc-project/bench-resolver)).
* See [README](https://github.com/oxc-project/oxc-resolver)

## 安装

### Node.js

* 使用 node 绑定 [oxc-resolver][url-oxc-resolver-npm]。
* 在 [stackblitz](https://stackblitz.com/fork/github/oxc-project/website/tree/main/stackblitz-templates/oxc-resolver) 上试用。

### Rust

参见 [https://crates.io/crates/oxc\_resolver][url-oxc-resolver-crate] 及其文档 [https://docs.rs/oxc\_resolver][url-oxc-resolver-docs]。

[url-oxc-resolver-crate]: https://crates.io/crates/oxc_resolver

[url-oxc-resolver-docs]: https://docs.rs/oxc_resolver

[url-oxc-resolver-npm]: https://npmx.dev/package/oxc-resolver

[url-enhanced-resolve]: https://github.com/webpack/enhanced-resolve
