Rollup plugin that transpiles ES2017 async/await keywords using nodent, a non-ES6 transformer. Version 0.2.2 is the latest release, with no recent updates. It supports Node >=4 and Rollup. Unlike Babel or TypeScript conversions, nodent avoids generator-based polyfills, producing faster code, but lacks active maintenance and may have compatibility issues with modern Rollup versions.
npm install rollup-plugin-nodentVerified import paths — ran on the pinned version, not inferred.
Configures Rollup to transpile async/await with nodent plugin.
Use a Promise polyfill like es6-promise before bundling.
Consider migrating to @rollup/plugin-babel with @babel/preset-env.
Use rollup-plugin-nodent@1.0.0 or later for Rollup v2 support, or stick with Rollup v1.
Run 'npm install --save-dev rollup-plugin-nodent'.
Use 'import nodent from 'rollup-plugin-nodent'' or 'const nodent = require('rollup-plugin-nodent').default'.