UNPKG

@wfp/icons-core

Version:
20 lines (12 loc) 400 B
## icons-core This tool generates a optimized icon library from a folder of svg files using [svgo](https://github.com/svg/svgo) and [react-svgr](https://react-svgr.com/). ### Usage with cmd ### Usage with node.js ```js const iconGenerator = require("@wfp/icons-core"); iconGenerator({ src: "/folder", output: "/outputFolder" }); ``` #### Structure - index.js - files/[name].js - metadata.json