lepto-resize

1.0.1 • Public • Published

lepto-resize

$ npm i -D lepto-resize

See lepto documentation for usage.

This plugin has no options, just add it to your plugins list.

Default options:

"use": [
  {
    "name": "lepto-resize",
 
    "kernel": null, /* "nearest", "cubic", "lanczos2" or "lanczos3", see Sharp doc */
 
    "width": null,
    "height": null,
 
    "maxWidth": null,
    "maxHeight": null,
    "maxSize": null,
 
    "retina": [], /* List of retina sizes, eg: 2, 3... */
    "prefix": "@", /* Retina prefix of the number */
    "suffix": "x" /* Retina suffix of the number */
  }
]

License

This project is licensed under the MIT license.

Readme

Keywords

Package Sidebar

Install

npm i lepto-resize

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

5.05 kB

Total Files

4

Last publish

Collaborators

  • dimitrinicolas