JSPM

cfmin

0.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q28497F

Common Font Minification Tool

Package Exports

  • cfmin

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cfmin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

SYSLIB Common Font Minification Tool.

Build 2013101703.

This is a tool to compress font and gen webfont. It can convert TTF/OTF/SVG/WOFF/EOT.... to TTF/SVG/WOFF/EOT and gen webfont css,then pack with zip.

Now only windows are supported. I'm working on the dependencies' compile script.

just head to test dir and have fun.

#Install

   npm install cfmin [ no -g please]

#Useage

   node cfmin.js [opitions] -f [file] [-n [name]] -m [map]

opitions

    --no_zip                        do not pack
    --no_css                        do not gen css
    --no_ttf                        do not gen ttf
    --no_svg                        do not gen svg
    --no_eot                        do not eot
    --no_woff                       do not gen woff