{"versions":{"4.3.0":{"name":"@types/esrecurse","version":"4.3.0","license":"MIT","_id":"@types/esrecurse@4.3.0","maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"contributors":[{"url":"https://github.com/hkleungai","name":"Jimmy Leung","githubUsername":"hkleungai"}],"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/esrecurse","dist":{"shasum":"07e20dd71c21a8149f24d9fc4b1f77b604df145a","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/esrecurse/-/esrecurse-4.3.0.tgz","fileCount":5,"integrity":"sha512-afEy3KcpIb/HvycNObDswdtaj1L1vjq8Sy/BRfiL32YSe7hBXWVPZ7ne1y6dZgiZqlyIEAp4EBD7d4Igxh/P8A==","signatures":[{"sig":"MEUCIQDognLds/oMVzcpnV3n+kl4LQCRzmXMsOndO6z8Ww/AhwIgfhuQIh19l89qvqLKwFmp5nfYNOAnpoTo01YpwoIk3RM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5757,"size":2105},"main":"","types":"index.d.ts","scripts":{},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/esrecurse"},"description":"TypeScript definitions for esrecurse","directories":{},"dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{},"typeScriptVersion":"5.1","_npmOperationalInternal":{"tmp":"tmp/esrecurse_4.3.0_1746643152201_0.9328316947013648","host":"s3://npm-registry-packages-npm-production"},"typesPublisherContentHash":"ef1e91eb756ec31bf71dc7be53e530320a0181ae54e7886315e10084c4d1ef33","_cnpmcore_publish_time":"2025-05-07T18:39:12.385Z","publish_time":1746643152385,"_source_registry_name":"default"},"4.3.1":{"name":"@types/esrecurse","version":"4.3.1","license":"MIT","_id":"@types/esrecurse@4.3.1","maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"contributors":[{"url":"https://github.com/hkleungai","name":"Jimmy Leung","githubUsername":"hkleungai"}],"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/esrecurse","dist":{"shasum":"6f636af962fbe6191b830bd676ba5986926bccec","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/esrecurse/-/esrecurse-4.3.1.tgz","fileCount":5,"integrity":"sha512-xJBAbDifo5hpffDBuHl0Y8ywswbiAp/Wi7Y/GtAgSlZyIABppyurxVueOPE8LUQOxdlgi6Zqce7uoEpqNTeiUw==","signatures":[{"sig":"MEUCIBuYmN41xWBQ4M4D4ZoNIpHWmT5ZmsAnp4kV17SMZLyaAiEAv2GCdX8vSxj4ly46C/NAf0GGsKXGbk+5S9ZSh5iT/VQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5347,"size":2028},"main":"","types":"index.d.ts","scripts":{},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/esrecurse"},"description":"TypeScript definitions for esrecurse","directories":{},"dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{},"typeScriptVersion":"5.1","_npmOperationalInternal":{"tmp":"tmp/esrecurse_4.3.1_1752896829582_0.7264499604709875","host":"s3://npm-registry-packages-npm-production"},"typesPublisherContentHash":"0e4ed7e0fe84b6879532ce29fdfe397c1fc205d0c9dbc17172b64f3016ae0065","_cnpmcore_publish_time":"2025-07-19T03:47:09.775Z","publish_time":1752896829775,"_source_registry_name":"default"}},"dist-tags":{"latest":"4.3.1","ts5.1":"4.3.1","ts5.2":"4.3.1","ts5.3":"4.3.1","ts5.4":"4.3.1","ts5.5":"4.3.1","ts5.6":"4.3.1","ts5.7":"4.3.1","ts5.8":"4.3.1","ts5.9":"4.3.1","ts6.0":"4.3.1"},"name":"@types/esrecurse","time":{"created":"2025-07-19T03:47:23.168Z","modified":"2025-08-03T06:41:37.097Z","4.3.0":"2025-05-07T18:39:12.385Z","4.3.1":"2025-07-19T03:47:09.775Z"},"readme":"# Installation\r\n> `npm install --save @types/esrecurse`\r\n\r\n# Summary\r\nThis package contains type definitions for esrecurse (https://github.com/estools/esrecurse).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/esrecurse.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/esrecurse/index.d.ts)\r\n````ts\r\n/**\n * Options for the Visitor constructor and visit function.\n */\ninterface VisitorOptions {\n    /**\n     * Fallback strategy for unknown node types.\n     * @default 'iteration'\n     */\n    fallback?: \"iteration\" | ((node: any) => string[]);\n\n    /**\n     * Custom keys for child nodes by node type.\n     * @default {}\n     */\n    childVisitorKeys?: Record<string, string[]>;\n}\n\n/**\n * A visitor class for recursively traversing ECMAScript AST.\n */\ndeclare class Visitor {\n    /**\n     * Creates a new Visitor instance.\n     * @param options Configuration options for the visitor.\n     */\n    constructor(visitor?: Visitor | null, options?: VisitorOptions | null);\n\n    /**\n     * Visits a node, invoking the appropriate handler.\n     * @param node The AST node to visit.\n     */\n    visit(node: any): void;\n\n    /**\n     * Visits the children of a node based on childVisitorKeys.\n     * @param node The AST node whose children to visit.\n     */\n    visitChildren(node: any): void;\n}\n\n/**\n * Visits an AST node with the specified visitor.\n * @param ast The AST node to traverse.\n * @param visitor A visitor instance or visitor object.\n * @param options Configuration options for the traversal.\n */\ndeclare function visit(\n    ast: any,\n    visitor?: Visitor | Record<string, (node: any) => void> | null,\n    options?: VisitorOptions,\n): void;\n\nexport { visit, Visitor, type VisitorOptions };\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Sat, 19 Jul 2025 03:47:05 GMT\r\n * Dependencies: none\r\n\r\n# Credits\r\nThese definitions were written by [Jimmy Leung](https://github.com/hkleungai).","users":{}}