node.js api with examples