JSPM

close-brace

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q5996F
  • License MIT

Close a brace in your text.

Package Exports

  • close-brace
  • close-brace/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (close-brace) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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))'