import { type ModuledNode } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";
Methods
Adds an import.
Adds imports.
Insert an import.
Inserts imports.
Gets the first import declaration that matches a condition, or undefined if it doesn't exist.
Gets the first import declaration that matches a module specifier, or undefined if it doesn't exist.
Gets the first import declaration that matches a condition, or throws if it doesn't exist.
Gets the first import declaration that matches a module specifier, or throws if it doesn't exist.
Get the module's import declarations.
Add export declarations.
Add export declarations.
Insert an export declaration.
Insert export declarations.
Gets the first export declaration that matches a module specifier, or undefined if it doesn't exist.
Gets the first export declaration that matches a condition, or throws if it doesn't exist.
Gets the first export declaration that matches a module specifier, or throws if it doesn't exist.
Get the export declarations.
Add export assignments.
Add export assignments.
Insert an export assignment.
Insert export assignments into a file.
Gets the first export assignment that matches a condition, or undefined if it doesn't exist.
Gets the first export assignment that matches a condition, or throws if it doesn't exist.
Get the file's export assignments.
Gets the default export symbol.
Gets the default export symbol or throws if it doesn't exist.
Gets the export symbols.
Gets all the declarations that are exported from the module.
The key is the name it's exported on and the value is the array of declarations for that name.
This will include declarations that are transitively exported from other modules. If you mean to get the export
declarations then use .getExportDeclarations()
.
Removes any "export default".
import { ModuledNode } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";