# image-modulator

> A CLI for image resizing.

Latest version **1.0.3** (published 2018-05-21) · ISC license · 0 weekly downloads

## Install

```sh
npm install image-modulator
pnpm add image-modulator
yarn add image-modulator
bun add image-modulator
```

Provides the command `image-modulator`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2018-05-21 |
| First published | 2018-05-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 (+4 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | affinespaces |

## Links

- npm: https://www.npmjs.com/package/image-modulator
- npm.io page: https://npm.io/package/image-modulator

## Dependencies (4)

- [async](https://npm.io/package/async.md) ^2.6.0
- [sharp](https://npm.io/package/sharp.md) ^0.18.4
- [commander](https://npm.io/package/commander.md) ^2.15.1
- [pretty-bytes](https://npm.io/package/pretty-bytes.md) ^5.0.0

## Recent versions

- 1.0.3 (latest) — 2018-05-21
- 1.0.2 — 2018-05-20
- 1.0.1 — 2018-05-20
- 1.0.0 — 2018-05-20

## README

## What is it?

A CLI for image resizing. 

## Installation

```npm i -g image-modulator``` 


## Usage
```image-modulator [dimensions] [source dir] [out dir]

  Options:

    -V, --version       output the version number
    -w, --width <n>     The new width, in pixels
    -h, --height <n>    The new height of the images, in pixels
    -s, --source <dir>  The directory that contains the images you want to resize.
    -o, --out <dir>     The directory to send the resized images to
    -h, --help          output usage information
```

## Example

To resize all images from directory `./my-imgs/` to `./my-resized-imgs` to 800x543 pixels, do

```image-modulator -w 800 -h 543 -s ./my-imgs -o ./my-resized-imgs/```

---
_Source: https://npm.io/package/image-modulator · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
