The new documentation about how to build a component in Node.js is located here: https://docs.elastic.io/guides/building-nodejs-component.html