1.2.0 • Published 3 years ago

imoen v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

imoen

Generate base64 blurry placeholders for your images.

Check the online examples.

const imoen = require('imoen');
const filepath = './path/to/file.png');

const { width, height, lqip } = await imoen(filepath);
// <img src="${lqip}" height="${height}" width="${width}" style="filter:blur(5px)" />

// You can call methods individually if you need individual parts
const { width, height } = await imoen.dimensions(filepath)
// This will return a placeholder, as a base64 string
const lqip = await imoen.lqip(filepath);

Documentation

The complete documentation can be found on https://projects.pixelastic.com/imoen/

1.2.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago

0.5.0

3 years ago

0.4.1

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.4.0

3 years ago

0.1.0

3 years ago

0.0.2

3 years ago