The @vt7/iconify
package is a package that generates svg folders that convert to iconify json.
Install package:
# npm
npm install @vt7/iconify
# yarn
yarn add @vt7/iconify
# pnpm
pnpm install @vt7/iconify
# bun
bun install @vt7/iconify
Terminal:
pnpm gen-icon --input=ui --output=ui.json --prefix=ui
Import:
import { generateIconToJSON } from '@vt7/iconify'
generateIconToJSON({
inputDir: string,
outputDir: string,
prefix: string
})
Made with 💛
Published under MIT License.