1.0.0 • Published 10 months ago

close-brace v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

close-brace

Close a brace in your text.

input   =>  output
-------------------
(2+3    =>  (2+3)
1)1)(2) =>  ((1)1)(2)
(2)(1(1 =>  (2)(1(1))
2)+((3  =>  (2)+((3))

how to use

import close from 'close-brace';

close('2)+((3') => '(2)+((3))'
1.0.0

10 months ago