1.0.2 • Published 4 years ago

upx2px v1.0.2

Weekly downloads
7
License
ISC
Repository
github
Last release
4 years ago

upx2px

upx to px in css

  • 2upx => 1px
  • ./dist/styles/index.css => ./dist/styles/index.px.css

install

npm install upx2px --save-dev

help

Usage: index [options]

Options:
  -V, --version        output the version number
  -t, --target [path]  the target file dirname
  -o, --output [path]  the output file dirname
  -d, --dpr [value]    set base device pixel ratio (default: 2)
  -w, --watch          watch file
  -h, --help           output usage information

Examples:
  $ custom-help --help
  $ custom-help -h

cli

$ upx2px --watch --target=./test/index.css --output=./test/index.px.css