Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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.

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

A tool for completing common web-site tasks.

Usage

  1. Install nodejs and graphicsmagick or imagemagick.
  2. In console npm install -g amaze-tool
  3. 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

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

  • 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