langchainjs
langchainjs copied to clipboard
JavaScript code text splitter
What are the best ways to create a JavaScript code text splitter as the Python Text Splitter example?
Could splitter accepts RegEx? Or how we could split the scope of arrow functions and other stuffs like that?