node_resolver 0.24.0

Node.js module resolution algorithm used in Deno
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2018-2025 the Deno authors. MIT license.

pub use inner::*;

#[cfg(feature = "sync")]
mod inner {
  #![allow(clippy::disallowed_types)]

  pub use std::sync::Arc as MaybeArc;
}

#[cfg(not(feature = "sync"))]
mod inner {
  pub use std::rc::Rc as MaybeArc;
}