Skip to content

javiercejudo/find-closing-symbol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

find-closing-symbol

Build Status Coverage Status Code Climate

Find closing symbol (parentheses, curly braces...)

Install

npm i find-closing-symbol

Usage

var findClosingSymbolFactory = require('find-closing-symbol');
var findClosingParenthesis = findClosingSymbolFactory('(', ')');

findClosingParenthesis('2 + (5 + 1)) * 5'); // => 12

See spec.

About

Find closing symbol (parentheses, curly braces...)

Resources

License

Stars

Watchers

Forks

Packages

No packages published