(packageName: string)
| 71 | * Check if a dependency is present in package.json |
| 72 | */ |
| 73 | export function hasDependency(packageName: string): boolean { |
| 74 | return getAllDependencies().includes(packageName); |
| 75 | } |
| 76 | |
| 77 | /** |
| 78 | * Utility to get the path (usually nested in node_modules) of a dependency. |
nothing calls this directly
no test coverage detected