{"library":"ast-types-flow","type":"library","category":null,"description":"ast-types-flow provides Flow type definitions specifically tailored for JavaScript Abstract Syntax Trees (ASTs), designed to integrate with AST structures produced by parsers compatible with `benjamn/ast-types`. Published as version 0.0.8, the project appears to be abandoned, with its last update several years ago, reflecting the broader shift in the JavaScript ecosystem's preference from Flow to TypeScript for static typing. The library employs a distinctive method, utilizing special comments like `// extends Node` to define type hierarchies, which are then processed by a custom transform into disjoint union types. This approach aims to facilitate robust type refinement for diverse AST nodes, though it often requires duplicating complete type definitions and introducing unique `_Foo: void` fields to satisfy Flow's structural uniqueness requirements for disjoint unions. It was intended for static analysis of ASTs within Flow-typed projects.","language":"javascript","status":"abandoned","version":"0.0.8","tags":["javascript","flow","ast"],"last_verified":"Wed May 27","install":[{"cmd":"npm install ast-types-flow","imports":["import type { Node } from 'ast-types-flow';","import type { Identifier } from 'ast-types-flow';","import type { ClassDeclaration } from 'ast-types-flow';"]},{"cmd":"yarn add ast-types-flow","imports":[]},{"cmd":"pnpm add ast-types-flow","imports":[]}],"homepage":null,"github":"https://github.com/kyldvs/ast-types-flow","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/ast-types-flow","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/ast-types-flow/compatibility"}}