Package Exports
- @tonalmathew/image-to-css
- @tonalmathew/image-to-css/cli.js
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 (@tonalmathew/image-to-css) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
You can use this package to convert an image to css box-shadow property.
How to install the package
- Install the package using
npm i -g @tonalmathew/image-to-css
.
Available commands
-h
or--help
for help.-f
or--file
for entering input file.-o
or--output
for the output destination folder name.
How to use
Enter
image-to-css -f <file_name> -o <output_folder_name>
Entering the above command will create a new folder, and the folder will contain a
index.html
andstyle.css
file.You can open the
index.html
file in any browser to see the output.