We will learn today how to transform an Android XML vector into a vector in SVG format using the command line. With the vector in SVG, we can use it both in React, Flutter or Web.

First, we will install this library (if we want to use the web version):
npm install -g vector-drawable-to-svg
Once installed, we will use it in the following way:
npx vector-drawable-svg my-drawable.xml out.svg
And if we want to transform all the images in a directory:
Get-ChildItem -Filter *.xml | ForEach-Object { $svgFileName = $_.BaseName + ".svg" npx vector-drawable-svg $_.Name $svgFileName}
