tools-sprite

1.2.6 • Public • Published

Tools Sprites

tools helper for image sprite, need improvement on create sprite. what it is for, it is for user who manage image raw with a bunch images, and folder.

note !! make sure folder and asset (image) serliazed

|---Images
|---------Images_1.png
|---------Images_2.png
|---------Images_3.png

how to use

Change all image size

## change size
pnpm tool-sprite <directory_path> --size 360x360

change folder name

after this command running its folder change to new name, and asset follow with serial number

## change folderName and aset name 
pnpm tool-sprite <directory_path> --changeFDname "<folder_name>"

create sprite image

and this make 3 file, sprite.png, sprite.json, sprite.html you can check preview with running HTML

## create sprite image
pnpm tool-sprite <directory_path> --createSprite "<max_width>"

Readme

Keywords

none

Package Sidebar

Install

npm i tools-sprite

Weekly Downloads

0

Version

1.2.6

License

ISC

Unpacked Size

3.53 MB

Total Files

72

Last publish

Collaborators

  • mananjabrik