Skip to content

markdalgleish/balance-parens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status npm

balance-parens

Balance a string of parentheses.

Why?

@moroshko made me do it.

Usage

import balance from 'balance-parens';

balance(')()(()('); // => ()()(()())

License

MIT License

About

Balance a string of parentheses.

Resources

Stars

Watchers

Forks

Packages

No packages published