1.0.1 • Published 6 years ago
blur-image-url v1.0.1
blur-image-url
Install
Install with npm
$ npm install blur-image-urlOr install with yarn
$ yarn add stackBlurToUrlimport 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