AST transform and basic tools for nodent and nodent-compiler. Version 3.2.9 is the current stable release. This package provides core parsing and transformation utilities used internally by nodent to convert async/await to generator-based code for older JavaScript environments. It handles AST traversal, node manipulation, and source map generation. Unlike Babel's async-to-generator plugin, nodent-transform is designed specifically as a building block for the nodent ecosystem and is not intended for direct use by most developers. Release cadence is low, with the last release in 2019.
npm install nodent-transformNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Parses async/await code, applies nodent transform, and generates output.
Migrate to @nodent/transform package
Use Node >=12 or enable --experimental-modules; for CJS, use dynamic import()
Switch from default import to named imports
npm install nodent-transform@3.2.9
Use named imports: import { transform, parse, generate } from 'nodent-transform'Ensure acorn version is >=5.x and code is valid JavaScript