@langchain/core
v0.0.8 llm ai gpt3 chain prompt prompt engineering chatgpt machine learning ml and 4 more...
lint
yarn lint:eslint && yarn lint:dpdm
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
rimraf 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:eslint --fix && yarn lint:dpdm
build:cjs
NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && node scripts/move-cjs-to-dist.js && rimraf dist-cjs
build:esm
NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/ && rimraf dist/tests dist/**/tests
lint:dpdm
dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts
test:watch
NODE_OPTIONS=--experimental-vm-modules jest --watch --testPathIgnorePatterns=\.int\.test.ts
build:watch
node scripts/create-entrypoints.js && tsc --outDir dist/ --watch
lint:eslint
NODE_OPTIONS=--max-old-space-size=4096 eslint src
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
npm i @langchain/[email protected]
Metadata
- MIT
- >=18
- LangChain
- released 12/4/2023