# NodeJS.cmake Manual # Defaults Default options used by the init function when not otherwise specified (via ncmake or via arguments to [nodejs_init](#nodejsinit--options--)): ```CMake set(NODEJS_DEFAULT_URL https://nodejs.org/download/release) set(NODEJS_DEFAULT_VERSION installed) set(NODEJS_VERSION_FALLBACK latest) set(NODEJS_DEFAULT_NAME node) set(NODEJS_DEFAULT_CHECKSUM SHASUMS256.txt) set(NODEJS_DEFAULT_CHECKTYPE SHA256) ``` # Functions ## `nodejs_init([options])` Configures the version of Node.js to use when running the build. Downloads required dependencies (headers, libraries) from a distribution server and configures a number of variables for use in other functions. #### Arguments All options can be overridden on the command line via `NODEJS_