Open mauvm opened 9 years ago
Updated steps:
Notes:
Alternative: Install package globally (npm install -g wkhtmltox-binary
) for a global cache and locally for a repo/project specific cache. The downside of this is that a document project (and it's package.json
) depend on a global package..
EDIT: It could be done with a postinstall
hook in package.json
:
{
"scripts": {
"postinstall": "npm install -g wkhtmltox-binary"
}
}
This module is loaded, a specific version is requested, and a promise will be returned:
This will perform the following steps:
Elaboration on step 5:
Other things to mention:
wkhtmltox-binary
and also make image binary available?