taro-tabbar-svg-to-png
v1.0.4
Published
Taro Tabbar Svg To Png
Downloads
2
Maintainers
Readme
taro-tabbar-svg-to-png
Taro Tabbar Svg To Png
Installation
yarn add taro-tabbar-svg-to-png
Usage
for Node Cil
taro-tabbar-svg-to-png -i './tests/svgs' -o './tests/pngs-cil' -s 96 -p 10
node ./src/index.js -i './tests/svgs' -o './tests/pngs-cil' -s 96 -p 10
for Js
const taroTabbarSvgToPng = require('taro-tabbar-svg-to-png');
const path = require('path');
const CUR_DIR = path.resolve(__dirname);
taroTabbarSvgToPng({
inputPath: `${CUR_DIR}/svgs`,
outputPath: `${CUR_DIR}/pngs`,
size: 64,
padding: 10,
});
License
MIT © Jason Feng