UNPKG

knip

Version:

Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects

14 lines (13 loc) 374 B
export declare class PackagePeeker { private manifestStr; private lines; private sections; private ready; constructor(manifestStr: string); private init; getLocation(type: 'dependencies' | 'devDependencies' | 'optionalPeerDependencies', packageName: string): { line: number; col: number; pos: number; } | undefined; }