simple 'find' implementation and some more useful options
npm i @shimataro/node-find
optimize multiple SVG files using svgo
package.json
:
{
"scripts": {
"build": "node-find src -name '*.svg' -exec svgo -i {} -o dist/{r=src} \\;"
}
}
See CHANGELOG.md.