Re-exports§
- pub use source::NpmResolvePkgReqsResult;
Modules§
Structs§
- BuildFast Check Type Graph Options 
- BuildOptions 
- Dependency
- ExternalModule 
- Represents a module which is not statically analyzed and is only available at runtime. It is up to the implementor to ensure that the module is loaded and available as a dependency. The module does not contain source code and will have no dependencies.
- FastCheck Type Module 
- FillFrom Lockfile Options 
- GraphImport 
- Provides a way for imports, through configuration, to be imported to the module graph without requiring the dependencies to be analyzed. This is intended to be used for importing type dependencies or other externally defined dependencies, like JSX runtimes.
- Import
- JsModule
- JsonModule 
- JsrMetadataStore 
- JsrPackageReqNot Found Error 
- ModuleError 
- ModuleGraph 
- The structure which represents a module graph, which can be serialized as well as “printed”. The roots of the graph represent the “starting” point which can be located in the module “slots” in the graph. The graph also contains any redirects where the requested module specifier was redirected to another module specifier when being loaded.
- ModuleText Source 
- NpmModule
- An npm package entrypoint.
- ParseModule From AstOptions 
- ParseModule Options 
- Position
- PositionRange 
- Range
- ReferrerImports 
- Additional import that should be brought into the scope of the module graph to add to the graph’s “imports”. This may be extra modules such as TypeScript’s “types” option or JSX runtime types.
- ResolutionResolved 
- TypesDependency 
- WalkOptions 
- WasmModule 
- WorkspaceMember 
Enums§
- CheckJsOption 
- FastCheck Type Module Slot 
- GraphKind 
- The kind of module graph.
- ImportKind 
- JsrLoadError 
- MediaType 
- Module
- ModuleEntry Ref 
- ModuleError Kind 
- ModuleGraph Error 
- ModuleLoad Error 
- NpmLoadError 
- Resolution
- ResolutionError 
- SpecifierError 
- WorkspaceFast Check Option 
Traits§
- CheckJsResolver 
- Executor
- An executor for futures.
Functions§
- parse_module 
- Parse an individual module, returning the module as a result, otherwise erroring with a module graph error.
- parse_module_ from_ ast 
- Parse an individual module from an AST, returning the module.
- resolve_import 
- Given a specifier string and a referring module specifier, try to resolve the target module specifier, erroring if it cannot be resolved.