@anio-node-foundation/get-nodejs-binaries
v1.0.0
Published
Download node binaries.
Downloads
31
Readme
@anio-node-foundation/get-nodejs-binaries
import {
getAvailableVersions,
getDownloadURL,
download
} from "@anio-node-foundation/get-nodejs-binaries"
const versions = await getAvailableVersions()
const link = await getDownloadURL(versions[0])
//
// returns local path to extracted tar.gz
//
console.log(
await download(versions[0])
)