loganliffick / splt

A text splitter that just f*cking works 🎊
https://spltjs.com
MIT License
235 stars 6 forks source link

FR: Add TypeScript support #1

Closed lorenzofiamingo closed 11 months ago

loganliffick commented 2 years ago

In the works for v2 👍

Spikeysanju commented 2 years ago

@loganliffick How are you? Has there been any update on this?

loganliffick commented 2 years ago

@Spikeysanju 👋

Doing well, hope you are too!

Still working on a react module for splt, seems I have to take it line by line (good thing the library is small) but running into a few issues after the string is initially split.

I laid it all out here in the WIP build on Codesandbox if you want to take a peek or have any thoughts for a solution. Fair warning, It gets a bit dicey when you add in line 19 and start rebuilding the text string as individual characters.

loganliffick commented 11 months ago

Hey @Spikeysanju and @lorenzofiamingo , well past-due for an update on V2, but it's here in the form of a new package 🎉

Hope you've both been well ❤️

Spikeysanju commented 11 months ago

Great work @loganliffick 👌