/plushcap/analysis/langchain/langchain-js-envs

Announcing LangChainJS Support for Multiple JS Environments

What's this blog post about?

LangChain.js now supports running on browsers, Cloudflare Workers, Vercel/Next.js, Deno, and Supabase Edge Functions, in addition to existing support for Node.js ESM and CJS. The library has been reworked to better support optional dependencies and produce smaller bundles. Breaking changes include moving certain imports to more granular locations. Testing is conducted using a test-exports package for each new environment, with the option for users to contribute additional environments through pull requests.

Company
LangChain

Date published
April 11, 2023

Author(s)
-

Word count
699

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.