@think-grid-labs/snapbolt-cli
v0.1.7
Published
CLI tool for @think-grid-labs/snapbolt
Maintainers
Readme
@think-grid-labs/snapbolt-cli
Native CLI tool for high-speed local image processing and asset management.
Installation
npm install -g @think-grid-labs/snapbolt-cliCommands
1. Sync WASM Binary
If you are using @think-grid-labs/snapbolt in a web project, use this to copy the required WASM binary to your public folder:
snapbolt-cli sync ./publicPro Tip: Add this to your package.json scripts to automate it for your team:
"scripts": {
"postinstall": "snapbolt-cli sync ./public"
}2. Bulk Optimize (Scan)
Recursively scan and shrink images (PNG/JPG) in your local folder:
snapbolt-cli scan ./publicWhy use this?
- Native Performance: Built with Rust for maximum speed.
- Developer Productivity: Automates the complex setup of WASM binaries in Next.js/Vite projects.
For full documentation, visit our GitHub Repository.
