Complete the steps described in the quickstart instructions, and in about five minutes you'll have a simple Node.js command-line application that makes requests to the Google Apps Script API.
npm install
After following the quickstart setup instructions, run the sample:
npm start