@langchain/community

v0.0.1
Sample integration for LangChain.js

lint

NODE_OPTIONS=--max-old-space-size=4096 eslint src && dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts

test

NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=\.int\.test.ts --testTimeout 30000 --maxWorkers=50%

build

yarn clean && yarn build:esm && yarn build:cjs && yarn build:scripts

clean

rm -rf dist/ && NODE_OPTIONS=--max-old-space-size=4096 node scripts/create-entrypoints.js pre

format

prettier --write "src"

prepack

yarn build

release

release-it --only-version --config .release-it.json

lint:fix

yarn lint --fix

build:cjs

NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && node scripts/move-cjs-to-dist.js && rm -rf dist-cjs

build:esm

NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/ && rm -rf dist/tests dist/**/tests

test:watch

NODE_OPTIONS=--experimental-vm-modules jest --watch --testPathIgnorePatterns=\.int\.test.ts

build:watch

node scripts/create-entrypoints.js && tsc --outDir dist/ --watch

test:single

NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000

format:check

prettier --check "src"

build:scripts

node scripts/create-entrypoints.js && node scripts/check-tree-shaking.js

test:integration

NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\.int\.test.ts --testTimeout 100000 --maxWorkers=50%
npm i @langchain/[email protected]

Metadata

  • MIT
  • >=18
  • LangChain
  • released 12/11/2023

Downloads