Socket
Book a DemoInstallSign in
Socket

amaze-tool

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amaze-tool

Common website tasks for images, js, css etc.

latest
Source
npmnpm
Version
1.1.0
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

A tool for completing common web-site tasks.

Usage

  • Install nodejs and graphicsmagick or imagemagick.
  • In console npm install -g amaze-tool
  • Use amaze from terminal:

amaze command -s ./source -d destination ...other args

Run specific command for all files in current directory. Define files or directory, as well as pass specific arguments.

amaze image-min -s ./*.* -d ./ -o 2

Optimize images in source directory and place in target directory.

  • --optimizationLevel, or -o 0..7, by default 2.
  • --progressive for jpegs, by default false.
  • --interlaced for gifs, by default false.
  • --multipass for svgs, by default false.

amaze image-resize -s ./*.* -d ./

Resize images in source directory and place them to target directory.

  • --width, or -w, optional
  • --height, or -h, optional
  • --upscale, default false
  • --crop, default false
  • --gravity, default Center
  • --quality, 0..1, default 1
  • --format, redefine format of output file
  • --filter to use when resize: Point, Box, Triangle, Hermite, Hanning, Hamming, Blackman, Gaussian, Quadratic, Cubic, Catrom, Mitchell, Lanczos, Bessel, Sinc
  • --sharpen, default false
  • --samplingFactor, chroma subsamplin
  • --background

amaze js-min

Minify js files.

amaze css-min -s ./*.css -d ./

Minify css files.

amaze css-concat -s ./*.css -d ./out.css

Merge css into a single file, resolving @imports, urls etc.

amaze concat -s ./. -d ./out

Concat files.

Keywords

website

FAQs

Package last updated on 12 Apr 2016

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.