Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tools-sprite

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tools-sprite

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.

  • 1.2.6
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

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>"

FAQs

Package last updated on 23 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc