ng-blurhash
v1.0.0
Published
<p align="center"> <img width="20%" height="20%" src="./logo.svg"> </p>
Downloads
81
Readme
Angular components for blurhash
Installation
NPM
npm install --save blurhash ng-blurhash
Yarn
yarn add blurhash ng-blurhash
Usage
Import BlurhashModule
and use the ng-blurhash
component in your code:
<ng-blurhash hash="LEHV6nWB2yk8pyo0adR*.7kCMdnj"
width="128"
height="128"
punch="1"
resolutionX="64"
resolutionY="64">
</ng-blurhash>
For a working example, please refer to the sample project.
Workflow
- Develop
- Write tests
- Run
npm run test:lib
to run library tests - Run
npm run commit
and choose commit type - Run
npm run release
to create a new release - Run
npm run build:lib
to build the library - Go to the
dist
directory, and runnpm publish
to publish the library
Contributors ✨
Thanks to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind are welcome!
Icons made by photo3idea_studio from www.flaticon.com