blur-image-url
v1.0.1
Published
## Install
Downloads
8
Readme
blur-image-url
Install
Install with npm
$ npm install blur-image-url
Or install with yarn
$ yarn add stackBlurToUrl
import blurImageUrl from 'blur-image-url';
Or umd builds are also available
<script src="path/to/blur-image-url.js"></script>
Will expose the global variable to window.blurImageUrl
.
Usage
// Only need image address and blur radius
blurImageUrl('./banner.png', 100).then(url => {
console.log(url);
});
License
MIT © Harvey Zack