hexo-filter-base64
v0.0.2
Published
Hexo filter that transforms files into base64 URIs
Downloads
3
Maintainers
Readme
hexo-filter-base64
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.