tyscript / js port
brilliant library.
possible to get a ts/js port as it would enable it to used on webapps and workers much easier than as a python lib
Hey thanks! I saw this library on X/Twitter. Does that work for you?
https://www.npmjs.com/package/langextract
Hi @aksg87 just wanted to confirm if that port is trustable. Since the author @kmbro has only published this one package on npm.
Hi @aksg87 just wanted to confirm if that port is trustable. Since the author @kmbro has only published this one package on npm.
Hey @amanzrx4, I ported the package using a cursor AI agent, and I have it working in one of my projects already! It isn't a perfect 1 to 1 port, but it should be trustworthy in the "non-malicious" kind of way. Feel free to check out the source code here if you have more questions: https://github.com/kmbro/langextract-typescript Thanks!
@kmbro Thank you for providing the library. I attempted to integrate it, but I encountered a few fundamental issues that prevent us from using it effectively. The most significant problems are:
- It runs sequentially rather than concurrently, as seen in the original langextract.
- The examples included in the prompt do not align with the expected output schema.
I have submitted a pull request to address these issues. While it turned out to be quite extensive, it should now be more aligned with the original code. I would appreciate it if you could release a new version with these changes. Thank you!
Thank you for putting in the effort to port the library @kmbro! Will test it out for sure.
I was wondering, if there are any indications of an official port coming in a foreseeable future?
I haven't heard of anything or seen any updates. Sorry!
On Wed, Oct 15, 2025 at 4:46 PM Ilja Panic @.***> wrote:
iljapanic left a comment (google/langextract#78) Thank you for putting in the effort to port the library @kmbro! Will test it out for sure. I was wondering, if there are any indications of an official port coming in a foreseeable future? NkdkJdXPPEBannerStart External Sender - From: (Ilja Panic @.***>) <#m_-1755109572606180694_> This message came from outside your organization. <#m_-1755109572606180694_>
NkdkJdXPPEBannerEnd iljapanic left a comment (google/langextract#78) https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_google_langextract_issues_78-23issuecomment-2D3408419344&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=HT1VrlXCktABDZEhaUYkow&m=gUR_Ge1BBZY32meOmDp29FUYy6FVAsSygSz8p7cgzrm2rEIu67gDWDIrnMvzv80X&s=r0ZYHctg71laDsspPvOTVItWjT6bT71xikBlrRy6KxE&e=
Thank you for putting in the effort to port the library @kmbro https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_kmbro&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=HT1VrlXCktABDZEhaUYkow&m=gUR_Ge1BBZY32meOmDp29FUYy6FVAsSygSz8p7cgzrm2rEIu67gDWDIrnMvzv80X&s=1r-4WtD4w2SxEDwVHZ87hrwiRzvblRIGv2GSHRPlny8&e=! Will test it out for sure.
I was wondering, if there are any indications of an official port coming in a foreseeable future?
— Reply to this email directly, view it on GitHub https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_google_langextract_issues_78-23issuecomment-2D3408419344&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=HT1VrlXCktABDZEhaUYkow&m=gUR_Ge1BBZY32meOmDp29FUYy6FVAsSygSz8p7cgzrm2rEIu67gDWDIrnMvzv80X&s=r0ZYHctg71laDsspPvOTVItWjT6bT71xikBlrRy6KxE&e=, or unsubscribe https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALGQAYQ4HWBXIDFSI3TUS5L3X26DDAVCNFSM6AAAAACDGOSCD2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTIMBYGQYTSMZUGQ&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=HT1VrlXCktABDZEhaUYkow&m=gUR_Ge1BBZY32meOmDp29FUYy6FVAsSygSz8p7cgzrm2rEIu67gDWDIrnMvzv80X&s=xglsYNl4TOSmXbPXV8mBh7WDI9_iJF6SslMWP6iif_4&e= . You are receiving this because you were mentioned.Message ID: @.***>
This email has been scanned for spam and viruses by Proofpoint Essentials. Click here https://us5.proofpointessentials.com/app/report_spam.php?mod_id=11&mod_option=logitem&report=1&type=easyspam&k=k1&payload=53616c7465645f5f1260033c7ddd99d0419e08b91740b892c607497e7a448576e7ebc637e4eabf199ef5c14a058aa0a08d1cf92761d3da04f3fc2cef19b67304bbeeba219f9b055d1e78aa04ac747b064476cd4bdcc4396eba92ce9d90a869701cc31af07113e76c7428e6fe6f9075119d1e31f0e65ffe06baf7851768fb2816c3282acae7cc33d57908857ff9d81e62 to report this email as spam.
=