1.2.2 • Published 6 years ago

sketchmin v1.2.2

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

Sketchmin Build Status

Reduce the size of your sketch files in a fast and easy way.

Description

Have a large Sketch file with a lot of imagery (jpg, png, etc)? Well, you're in luck! This package scans your .sketch files, compresses the standalone images (png, jpg, etc), resizes them (optional), and repackages everything up nice and tidy.

Install

$ npm install --global sketchmin

Usage

$ sketchmin --help

  Usage
    $ sketchmin <path|glob> <outputpath>

  Options
    -r, --resize   Provide max-width to resize all images to
    -v, --verbose   View all output

  Examples
    $ sketchmin designs/main.sketch designs/
    $ sketchmin designs/*.sketch designs/
    $ sketchmin designs/**/*.sketch designs/ -r 2000
    $ sketchmin designs/**/*.sketch designs/ -v

License

MIT © Jake Larson