Package helga provides tools for editing nested code. See helga on npmopens in a new tab for the published package and usage information.