@c6fc/packer
v0.0.1
Published
Download/Use Packer via Node
Readme
@c6fc/packer
Link and use the Packer binary with NPM.
Usage
npm install -p @c6fc/packerSet the packer_version config element in your package.json:
"config": {
"packer_version": "1.13.1"
}const packer = require('@c6fc/packer'); // Install and link Packer 1.13.1
console.log(packer);
/* {
cacheDir: <path to Packer cache>
version: <the version of Packer that's loaded>
executablePath: <the path to the Packer executable>
} */I created this package specifically for use with Packer (@c6fc/spellcraft-packer), but perhaps someone else will find it useful.
