remark-jimp-embed
v1.0.0
Published
Remark plugin to edit and embed images
Downloads
1
Readme
remark-jimp-embed
Remark plugin to embed images and edit them with Jimp.
Installation
npm install remark-jimp-embed
Usage
var remark = require('remark')
var embed = require('remark-jimp-embed')
var out = await remark()
.use(embed, transform)
.process(input)
function transform (img) {
img.resize(800, 600)
img.quality(75)
return img
}
License
Apache-2.0