How to upload attachment from NodeJs function in CRM?

How to upload attachment from NodeJs function in CRM?

Hi,
I want to upload attachment from NodeJS function to custom module.
Following instructions from
https://www.zoho.com/crm/developer/docs/serverless-architecture/nodejs-scripting.html
I was able to create, update and get a record from custom module.
How can I upload attachment for single record in custom module?