@rxap/node-utilities
Version:
Provides a set of utility functions for Node.js development, including file system operations, git integration, and package.json manipulation. It offers functionalities like copying folders, reading JSON files with retry logic, retrieving the current git
12 lines (11 loc) • 766 B
TypeScript
import { PackageExportsEntryOrFallback } from './package-exports-entry-or-fallback';
export interface PackageExportsEntryObject {
/** The module path that is resolved when this specifier is imported as a CommonJS module using the `require(...)` function. */
require?: PackageExportsEntryOrFallback;
/** The module path that is resolved when this specifier is imported as an ECMAScript module using an `import` declaration or the dynamic `import(...)` function. */
import?: PackageExportsEntryOrFallback;
/** The module path that is resolved when this environment is Node.js. */
node?: PackageExportsEntryOrFallback;
/** The module path that is resolved when no other export type matches. */
default?: PackageExportsEntryOrFallback;
}