<commit_before># vibrant-loader

### A web pack loader giving access to the vibrant/dominant colors of images.

returns an object with various swatches, the dimensions & height ratio of the
original source file as well as a base64-ed 3x3px version that can be used as
stylistic background or placeholder for optimistic image loading.
<commit_msg>add example link and image to readme<commit_after># vibrant-loader

### A web pack loader giving access to the vibrant/dominant colors of images.

![header image](https://gist.githubusercontent.com/bldng/0ea14f20fc6fb8b0158f4187fbc1da66/raw/b54b096e46ab3ff9e48af869686a86fc2f5282cd/header.png)

You can see it in action [here](https://vibrant-loader-examples-hitudlwixw.now.sh/).



returns an object with various swatches, the dimensions & height ratio of the
original source file as well as a base64-ed 3x3px version that can be used as
stylistic background or placeholder for optimistic image loading.

{'fraction_non_alphanumeric': 0.060988433228180865, 'fraction_numerical': 0.052576235541535225, 'mean_word_length': 5.141935483870967, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4952623', 'n_tokens_mistral': 313, 'n_tokens_neox': 279, 'n_words': 113}