iamcal / lib_autolink

PHP HTML link formatting library
MIT License
63 stars 22 forks source link

Is there a JS version of this as well? #16

Closed seabasss closed 6 years ago

seabasss commented 6 years ago

Love this little script, but is there a JS version of it as well? Right now I send user data back to the client to apply this script but would be nice to only do it on load.

Awesome work! Thanks!

iamcal commented 6 years ago

there isn't currently, although porting it to JS would not be too difficult

seabasss commented 6 years ago

there isn't currently, although porting it to JS would not be too difficult

@iamcal Would you be open to/have time to help me do it? If so, name your price :) Thank you!

iamcal commented 6 years ago

I took a stab at starting to port it over. It's not fully working yet, but many of the tests pass: https://github.com/iamcal/autolink-js

iamcal commented 6 years ago

All the tests are now passing. It's lacking much documentation and test coverage could be improved, but it has the same functionality as this PHP version

seabasss commented 6 years ago

That's awesome! Thank you so much!! :)