0.1.1 • Published 5 years ago
download-chakracore v0.1.1
download-chakracore
Deprecated. The Node-ChakraCore project has been archived.
Download a Node-ChakraCore binary.
Installing
npm install download-chakracoreRequirements
In order to use this, you need unzip or tar. download-chakracore will prefer .zip over .tar.gz when downloading from the releases.
Usage from the command line
download-chakracore <destination>destination must be the final path of the node executable.
Usage from JS
const download = require('download-chakracore')
download(dest, {log: console.log})dest must be the final path of the node executable. opt partially overrides the following defaults:
{
version: 'latest',
arch: process.arch,
platform: process.platform,
cache: require('env-paths')('download-chakracore').cache,
githubToken: null,
log: () => {} // to log messages
}Returns a Promise that rejects if an error occurs.
Contributing
If you have a question or have difficulties using download-chakracore, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.