bale-font-extract
v1.0.1
Published
Font extract.
Downloads
2
Readme
Font 提取工具
Font 提取工具, 封装 font-spider
.
使用
- api
export interface IFontExtractOptions {
rootDir?: string // root dir
filePath?: string // font path, maybe includes css
cssPath?: string // css path, default path in filePath, default name is index.css
font?: string // font
output?: string // output dir, default path in filePath, default name is dist
}
examples:
const BaleFontExtract = require('bale-font-extract').default
BaleFontExtract({
filePath: '',
font: '0123456789.,%'
})