Have upgraded npm and node in local windows. Still same error behaviour as below.

Thanks for your inputs. Will create a query in  https://github.com/elastic/elasticsearch-js too as you suggested.

NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB