Open christian-bromann opened 2 years ago
I would really appreciate this as well.
FWIW this is possible via the following:
import jscodeshift from "jscodeshift/src/Runner";
The import statement (import jscodeshift from 'jscodeshift/src/Runner';
) does not work. The error is Cannot find module 'jscodeshift/src/Runner' or its corresponding type declarations.ts(2307)
Hey 👋
it would be nice if jscodeshift can be used programmatically. Something like:
allowing to pass in the arguments from the CLI as object.