1.0.0 • Published 5 years ago
ng-blurhash v1.0.0
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:libto run library tests - Run
npm run commitand choose commit type - Run
npm run releaseto create a new release - Run
npm run build:libto build the library - Go to the
distdirectory, and runnpm publishto 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
1.0.0
5 years ago