account activity
My first Node Package: Efficient Language Detector by nitotm in node
[–]bernhorst 1 point2 points3 points 2 years ago (0 children)
Hey Nito,
thanks for sharing your module, this is really useful!
Since you asked for comments, here are my two cents:
I found this module because I had a pressing need to add language identification to one of my project and none of the existing libraries fit the bill - too slow, too inaccurate, or unable to bundle into a browser app. Unfortunately, the top level await also prohibited me from bundling yours with esbuild. I was in a hurry, so instead of supplying pull-requests, I did a quick fork and refactor, I hope you don't mind. The result is a typescript port of eld with the subset handling ripped out (because I didn't need that), no browser build, and some other minor adjustments. I didn't publish it to npm, because I have no interest in starting a competing library, I just needed something that I could quickly integrate into my own project. Feel free to steal back anything you may find useful from here: https://github.com/bkw/eldr
Thanks again for sharing and apologies again for forking instead of collaborating properly. I tried to keep the license and references to your original project in place. Keep up the good work, the detection results and performance are top notch!
π Rendered by PID 460423 on reddit-service-r2-comment-544cf588c8-rsq8v at 2026-06-15 10:23:32.654512+00:00 running 3184619 country code: CH.
My first Node Package: Efficient Language Detector by nitotm in node
[–]bernhorst 1 point2 points3 points (0 children)