Given the rising power and varied use cases of APIs, combined with the popularity of JavaScript for building Web applications, Node.js has grown into a useful tool for many developers.

Node.js performs as a runtime environment for (mostly) server-side applications. But the fact that it is written in JavaScript makes it familiar to Web developers. Now, using this Google Quickstart you could easily build a simple Node.js command-line application that makes calls to the Google Apps Script Execution API.

The Execution API enables third-party applications to call an Apps Script project and receive a response, allowing easy integration with Google services for a range of uses. This CLI should only take about 5 minutes to create, and requires Node.js installed, as well as the npm package management tool (which comes with Node.js).

It is important to begin by setting up a target Apps Script to call with the API, and then install the client library and set up the sample using the code provided. Run the sample, provide access and your simple Node.js CLI should be calling your target Apps Script.