I just needed to generate a react component printer and non of the public npm packages worked properly. So I created mine. The link for the repository:

js-component-printer