Automatically closes parentheses and similar characters.
npm install autopairLightweight autopairing + typethrough behavior for HTML input[type=text] and textarea. No dependencies. Preserves the undo/redo stack.
1. Automatically closes parentheses, brackets, curly braces, single quotes, and double quotes.
!Automatically close parentheses
2. Wraps selected text. For example, selecting a word and hitting ( will wrap the word in parentheses.
3. Atomically removes pairings. For example, when hitting backspace inside (), both characters are removed.
4. Types through closing characters. For example, hitting ) in front of an already typed ) simply moves the cursor past it.
!Type through closing characters
``bash`
npm install autopair
`html
`
Report issues on the Veritula issue tracker. Do not submit issues on GitHub.
Run a webserver and open index.html`.