Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/2460392754/uni-pocky-upx2px
upx to px in css
https://github.com/2460392754/uni-pocky-upx2px
Last synced: 7 days ago
JSON representation
upx to px in css
- Host: GitHub
- URL: https://github.com/2460392754/uni-pocky-upx2px
- Owner: 2460392754
- Created: 2019-12-31T01:16:12.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-12T21:43:00.000Z (almost 3 years ago)
- Last Synced: 2024-09-23T16:17:50.507Z (about 2 months ago)
- Language: JavaScript
- Size: 91.8 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# upx2px
upx to px in css
- 2upx => 1px
- ./dist/styles/index.css => ./dist/styles/index.px.css## install
```bash
npm install upx2px --save-dev
```## help
```bash
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 informationExamples:
$ custom-help --help
$ custom-help -h
```## cli
```bash
$ upx2px --watch --target=./test/index.css --output=./test/index.px.css
```