bale-font-extract

1.0.1 • Public • Published

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.,%'
})

Dependencies (6)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i bale-font-extract

    Weekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    17.9 kB

    Total Files

    7

    Last publish

    Collaborators

    • ztyjr88