pairify (npm): You have source code, line and position. It gives you the range/selection of the surrounding brackets.
Keywords: scope|bracket|selection|range|match