2.4.1 • Published 4 years ago

image2base64-cli v2.4.1

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

image2base64-cli

Dependency Status devDependency Status Build Status: Linux Build Status: Windows npm version Downloads type-coverage

A CLI tool to convert image file to base64 string.

install

yarn global add image2base64-cli

usage

image2base64-cli favicon.ico --scss

or

image2base64-cli *.ico --scss variables.scss

or

image2base64-cli *.ico --less variables.less

or

image2base64-cli *.ico --es6 variables.js

or

image2base64-cli *.ico --scss variables.scss --less variables.less --json variables.json --es6 variables.js --base demo

or

image2base64-cli *.ico --scss variables.scss --less variables.less --json variables.json --es6 variables.js --base demo --watch

options

keydescription
-w,--watchwatch mode
--basebase directory
--jsongenerate json file of variables
--scssgenerate scss file
--lessgenerate less file
--es6generate es6 file
-h,--helpPrint this message.
-v,--versionPrint the version

change logs

// v2
the variable name will be the whole path relative to `base`(by `--base basename`)

// v1
the variable name is the name of the image file
2.4.1

4 years ago

2.4.0

4 years ago

2.3.3

4 years ago

2.3.2

4 years ago

2.3.1

6 years ago

2.3.0

6 years ago

2.2.1

6 years ago

2.2.0

7 years ago

2.1.2

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago