closingbracket
Version:
Find in a string a closing bracket for an opening bracket. The search function will start from a specific start index in the string, identifies the start index of the next corresponding opening bracket and finds the corresponding closing bracket provided
16 lines (14 loc) • 559 B
JavaScript
/* ---------------------------------------
Exported Module Variable: BracketHandler
Package: closingbracket
Version: 1.0.9 Date: 2020/10/20 8:37:05
Homepage: https://github.com/niebert/closingbracket#readme
Author: Engelbert Niehaus
License: MIT
Date: 2020/10/20 8:37:05
Require Module with:
const BracketHandler = require('closingbracket');
JSHint: installation with 'npm install jshint -g'
------------------------------------------ */
/*jshint laxcomma: true, asi: true, maxerr: 150 */
/*global alert, confirm, console, prompt */