Open aneurysmjs opened 3 years ago
would be great to make this issue a PR about adding this to official doc
Actually, this is even better, run()
returning a promise you can:
const res = await Runner.run(...)
console.log(res)
/*
{
stats: {},
timeElapsed: '0.001',
error: 0,
ok: 0,
nochange: 0,
skip: 0
}
*/
Hi everybody, I've seen some developers wondering how to run jscodeshift without CLI, there are some issues but they're very simple, so If someone wants to effectively run it with options, here's an example.
Привет всем, я видел, как некоторые разработчики задаются вопросом, как запустить jscodeshift без CLI, есть некоторые проблемы, но они очень простые, поэтому, если кто-то хочет эффективно запускать его с параметрами, вот пример.
the rest depends on how it will be used остальное зависит от того, как будет использоваться
related #343
related #179