SVG to Vector Drawable converter
npm install svg2vd[![Build status][travis-badge]][travis-badge-url]
[![Coverage status][coveralls-badge]][coveralls-badge-url]
svg2vd is an SVG to VectorDrawable command line tool.
You can install svg2vd using [npm][npm] w/ the following command:
``sh`
npm install -g svg2vd
`text
Usage: svg2vd [options] [file]
Options:
-V, --version output the version number
-s, --string
-i, --input
-o, --output
-d, --dir
-q, --quiet only output error messages
-h, --help output usage information
`
`shConvert an SVG to VectorDrawable.
svg2vd filename.svg
Build instructions
If you want to contribute, first be sure to install the latest version of
Node.js and npm.
If you're not sure what IDE to use, I highly recommend checking out
[vscode][vscode].Then clone this repository and in the root directory, run:
`sh
npm install
`To build the tool, run:
`sh
npm run build
`To test the tool, run:
`sh
npm run test
`` [travis-badge]: https://travis-ci.org/alexjlockwood/svg2vd.svg?branch=master
[travis-badge-url]: https://travis-ci.org/alexjlockwood/svg2vd
[coveralls-badge]: https://coveralls.io/repos/github/alexjlockwood/svg2vd/badge.svg?branch=master
[coveralls-badge-url]: https://coveralls.io/github/alexjlockwood/svg2vd?branch=master
[npm-badge]: https://badge.fury.io/js/svg2vd.svg
[npm-badge-url]: https://www.npmjs.com/package/svg2vd
[vscode]: https://code.visualstudio.com/
[npm]: https://www.npmjs.com/get-npm