0.1.2 • Published 9 years ago

postxml-image-size v0.1.2

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

postxml-image-size

npm version

PostXML plugin adds sizes to local images.

Installation

npm i postxml-image-size --save-dev

Usage

Postxml

Options

cwd

Directory of parsing file. It is needed for images' urls. Type: String Default: ''

round

Enable rounding sizes Type: String Default: true

Example

Input

<img src="image.png">

Output

<img src="image.png" width="255" height="180">

Licence

MIT