UNPKG

@nestjs/cli

Version:

The Nest CLI: create NestJS applications, generate modules, controllers and CRUD resources, and build, run and watch projects and monorepos.

6 lines (5 loc) • 184 B
/** * Detect whether the target project uses ESM output. * Checks the project's package.json for `"type": "module"`. */ export declare function isEsmProject(cwd?: string): boolean;