title: How to use acorn.js or similar library to add a new node to the ast tree?
body: <p>I was trying to use acorn.js along with yeoman to add code to existing js files .I have tried to work with esprima and acorn to do this job but I cannot find any documentation about adding node to the AST.</p>