/co-async-migrate

Migrate a project from co/yield to async/await

Primary LanguageJavaScriptMIT LicenseMIT

co-async-migrate

Migrate a project from co/yield to async/await

Install

npm i co-async-migrate -g

Usage

co-async-migrate /path

Options

--noyield Don't replace yield; --co string Replace 'string(...)', instead of 'co(...)'; same behaviour otherwise;

Note: Options should come before the path string.

Example with options:

co-async-migrate --noyield --co coexpress /path