We have created structure of the nodejs project, Now we will create a main. js file in the root of nodejs project.The index.js file location will d If you want to manipulate existing PDFs, you might be best off using another Node project called Scissors.In that respect, its a great example of how Node.js can be used to power a modest, tightly focused application with little heavy lifting involved. node nested module structure example. Node.js example for a Stack Overflow answerProject structure: dist -- index.js -- moduleA -- index.js package.json moduleA. js. nested-project-structure-example.