ghost-storage-preprocessor-transform-sqip
v0.0.1
Published
SQIP Storage Preprocessor for Ghost
Downloads
5
Maintainers
Readme
Ghost Storage Preprocessor SQIP Transform
Creates a SQIP for every uploaded file and appends
.sqip.svg
Used with ghost-storage-preprocessor.
Prerequisites
- Golang (https://golang.org/doc/install)
- Primitive (https://github.com/fogleman/primitive)
Installation
$ npm install ghost-storage-preprocessor-sqip
$ mkdir -p ./content/adapters/storage/preprocessor/transforms
$ cp -r ./node_modules/ghost-storage-preprocessor-transform-sqip ./content/adapters/storage/preprocessor/transforms/sqip
Usage
{
"storage": {
"active": "preprocessor",
"preprocessor": {
"transforms": [
["sqip", {}]
]
}
}
}