1.0.9 • Published 5 years ago

the-resize v1.0.9

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

the-resize

Build Status npm Version JS Standard

Resize image files

Installation

$ npm install the-resize --save

Usage

'use strict'

const { TheResize } = require('the-resize')

async function tryExample () {
  const resize = new TheResize({
    width: 200,

    fit: 'inside',
    height: 200
  })
  // Resize image to size fit inside 200x200
  await resize.convert('src01.png', 'dest01.png')
}

tryExample().catch((err) => console.error(err))

API Guide

License

This software is released under the MIT License.

Links

1.0.9

5 years ago

1.0.7

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago