UNPKG

ast-get-values-by-key

Version:

Extract values and paths from AST by keys OR set them by keys

16 lines (14 loc) 320 B
declare const version: string; interface Findings { val: any; path: string; } /** * Extract values and paths from AST by keys OR set them by keys */ declare function getByKey( originalInput: any, whatToFind: string | string[], originalReplacement?: any, ): any; export { type Findings, getByKey, version };