Files
documentation/node_modules/has-yarn/index.d.ts
2024-03-22 03:47:51 +05:30

8 lines
224 B
TypeScript

/**
Check if a project is using [Yarn](https://yarnpkg.com).
@param cwd - The current working directory. Default: `process.cwd()`.
@returns Whether the project uses Yarn.
*/
export default function (cwd?: string): boolean;