faster-babel-types provides a drop-in replacement for @babel/types with optimized runtime performance and TypeScript support. Currently at version 0.1.0, this package is in early active development and is designed for projects that use @babel/types and want faster type checking or creation functions. It maintains the same API surface but aims to improve speed, especially in code paths that extensively use Babel AST types. The main differentiator is performance optimization for Babel plugin authors or tools that process large ASTs. However, it is experimental and not yet stable for production use.
Verified import paths — ran on the pinned version, not inferred.
ESM-only; default export provides all types
Same named export as @babel/types
ESM-only; also available as t.isStringLiteral
Shows default import (t) and named imports for creating and checking AST nodes.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.