0.0.2 • Published 6 years ago

hexo-filter-base64 v0.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

hexo-filter-base64

npm npm NPM Dependencies npm.io issues

Hexo filter that transforms files into base64 URIs

Installation

$ npm install hexo-filter-base64

Usage

The filter is enabled by default with the configuration:

filter_base64:
  enabled: true
  limit: 100000

Options

enabled

Type: Boolean Default: true

The filter will only work if true.

limit

Type: Number Default: 100000

A Number specifying the maximum size of a file in bytes. If the file is less than or equal to the limit, it will be transformed into a base64 string.