New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

image-resize-loader

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

image-resize-loader

Automatically resize loaded images

  • 0.1.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created

image-resize-loader

Automatically resize loaded images

Installation

npm install --save-dev loader-utils jimp image-resize-loader

Usage

image-resize-loader will automatically resize any image that has a ?width=x query string

loaders: [
    {
        test: /.*\.(png|jpg)(\?.+)?$/i,
        loaders: [
            'file',
            'image-resize'
        ]
    },
    ...
]

FAQs

Package last updated on 17 Sep 2017

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