ng-blurhash
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published


MIT commitizen PRs styled with prettier All Contributors spectator

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

  1. Develop
  2. Write tests
  3. Run npm run test:lib to run library tests
  4. Run npm run commit and choose commit type
  5. Run npm run release to create a new release
  6. Run npm run build:lib to build the library
  7. Go to the dist directory, and run npm publish to publish the library

Contributors ✨

Thanks to these wonderful people (emoji key):


Santeri Elo

💻 📖 🤔 🚧

This project follows the all-contributors specification. Contributions of any kind are welcome!


Icons made by photo3idea_studio from www.flaticon.com

Package Sidebar

Install

npm i ng-blurhash

Weekly Downloads

5

Version

1.0.0

License

MIT

Unpacked Size

49.3 kB

Total Files

20

Last publish

Collaborators

  • iffa