UNPKG

ttc2ttf

Version:

Use for split ttc file into ttf files.

13 lines (11 loc) 306 B
#!/usr/bin/env node import ttc2ttf from '../' if (process.argv[2] != null) { const fontPath = process.argv[2] const distPath = (process.argv[3] != null) ? process.argv[3] : './' ttc2ttf(fontPath, distPath) } else { const help = "Command:\n" + " ttc2ttf <ttc path> [dist path]\n" console.log(help) }