$ npm install @putout/plugin-convert-spread-to-array-from
putout plugin convert spread to Array.from.
npm i @putout/plugin-convert-spread-to-array-from
{
"rules": {
"convert-spread-to-array-from": true
}
}
const places = [
...runPlugins(),
];
const places = Array.from(runPlugins());
MIT
© 2010 - cnpmjs.org x YWFE | Home | YWFE