{"_id":"@langchain/textsplitters","_rev":"16-2c5593021ee93517c573ed2e61a29d89","name":"@langchain/textsplitters","dist-tags":{"next":"0.1.0-rc.0","latest":"0.1.0"},"versions":{"0.0.0":{"name":"@langchain/textsplitters","version":"0.0.0","author":{"name":"LangChain"},"license":"MIT","_id":"@langchain/textsplitters@0.0.0","maintainers":[{"name":"andrewnguonly","email":"andrewnguonly@gmail.com"},{"name":"basproul","email":"braceasproul@gmail.com"},{"name":"jacoblee93","email":"jacoblee93@gmail.com"},{"name":"nfcampos","email":"nuno@boringbits.io"},{"name":"sullivan-sean","email":"ssullivan61198@gmail.com"},{"name":"hwchase17","email":"hw.chase.17@gmail.com"}],"homepage":"https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-INTEGRATION_NAME/","bugs":{"url":"https://github.com/langchain-ai/langchainjs/issues"},"dist":{"shasum":"5fe05fcd86ad7f1b4766afacda482cba98a3d35d","tarball":"https://registry.npmjs.org/@langchain/textsplitters/-/textsplitters-0.0.0.tgz","fileCount":13,"integrity":"sha512-3hPesWomnmVeYMppEGYbyv0v/sRUugUdlFBNn9m1ueJYHAIKbvCErkWxNUH3guyKKYgJVrkvZoQxcd9faucSaw==","signatures":[{"sig":"MEYCIQC1faMPXc5vFzi5izKHzY2XnflOF98OCFnX04AuKc/mwgIhANudZdQMWCti4IhG+OBxDac0sFDFCPMIl5wo+Zm816gf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60106},"main":"./index.js","type":"module","types":"./index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":{"import":"./index.d.ts","default":"./index.d.ts","require":"./index.d.cts"},"import":"./index.js","require":"./index.cjs"},"./package.json":"./package.json"},"gitHead":"76193ec0db1cebd55ea49456b373bae7c83838eb","scripts":{"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":"rm -rf dist/ && NODE_OPTIONS=--max-old-space-size=4096 yarn lc-build --config ./langchain.config.js --create-entrypoints --pre","format":"prettier --config .prettierrc --write \"src\"","prepack":"yarn build","lint:fix":"yarn lint:eslint --fix && yarn lint:dpdm","test:int":"NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.int\\.test.ts --testTimeout 100000 --maxWorkers=50%","build:cjs":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && yarn move-cjs-to-dist && rm -rf dist-cjs","build:esm":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/ && rm -rf 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":"yarn create-entrypoints && tsc --outDir dist/ --watch","lint:eslint":"NODE_OPTIONS=--max-old-space-size=4096 eslint --cache --ext .ts,.js src/","test:single":"NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000","format:check":"prettier --config .prettierrc --check \"src\"","build:scripts":"yarn create-entrypoints && yarn check-tree-shaking","move-cjs-to-dist":"yarn lc-build --config ./langchain.config.js --move-cjs-dist","check-tree-shaking":"yarn lc-build --config ./langchain.config.js --tree-shaking","create-entrypoints":"yarn lc-build --config ./langchain.config.js --create-entrypoints"},"_npmUser":{"name":"jacoblee93","email":"jacoblee93@gmail.com"},"repository":{"url":"git+ssh://git@github.com/langchain-ai/langchainjs.git","type":"git"},"_npmVersion":"10.2.5","description":"Various implementations of LangChain.js text splitters","directories":{},"_nodeVersion":"20.10.0","dependencies":{"js-tiktoken":"^1.0.11","@langchain/core":"~0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dpdm":"^3.12.0","jest":"^29.5.0","dotenv":"^16.3.1","eslint":"^8.33.0","rollup":"^4.5.2","ts-jest":"^29.1.0","prettier":"^2.8.3","@swc/core":"^1.3.90","@swc/jest":"^0.2.29","release-it":"^15.10.1","typescript":"<5.2.0","@jest/globals":"^29.5.0","@langchain/scripts":"~0.0","eslint-plugin-import":"^2.27.5","@tsconfig/recommended":"^1.0.3","jest-environment-node":"^29.6.4","eslint-config-prettier":"^8.6.0","eslint-plugin-prettier":"^4.2.1","@typescript-eslint/parser":"^6.12.0","eslint-config-airbnb-base":"^15.0.0","eslint-plugin-no-instanceof":"^1.0.1","@typescript-eslint/eslint-plugin":"^6.12.0"},"_npmOperationalInternal":{"tmp":"tmp/textsplitters_0.0.0_1713843224227_0.8805094143894843","host":"s3://npm-registry-packages"}},"0.0.1":{"name":"@langchain/textsplitters","version":"0.0.1","author":{"name":"LangChain"},"license":"MIT","_id":"@langchain/textsplitters@0.0.1","maintainers":[{"name":"andrewnguonly","email":"andrewnguonly@gmail.com"},{"name":"basproul","email":"braceasproul@gmail.com"},{"name":"jacoblee93","email":"jacoblee93@gmail.com"},{"name":"nfcampos","email":"nuno@boringbits.io"},{"name":"sullivan-sean","email":"ssullivan61198@gmail.com"},{"name":"hwchase17","email":"hw.chase.17@gmail.com"}],"homepage":"https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-INTEGRATION_NAME/","bugs":{"url":"https://github.com/langchain-ai/langchainjs/issues"},"dist":{"shasum":"3fc8d6f01ec0e523ea6e15eecad8415901e849b7","tarball":"https://registry.npmjs.org/@langchain/textsplitters/-/textsplitters-0.0.1.tgz","fileCount":13,"integrity":"sha512-DqYsdZ/W2e4DlC8uFEFkYMtlAAmtDJgEJIl59XkueCQ0yNIMi1r9zpiRykaK/hBNEwE8FnQxixGj3mXwVTerdQ==","signatures":[{"sig":"MEQCIAb2XlrT5rrmwDMeegFG852fQHfV0HYkUAb816OvDrNIAiAGZbIykWPVviSKUeMmQlKi/yq9+EExm22AjV9+RnGE+w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60118},"main":"./index.js","type":"module","types":"./index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":{"import":"./index.d.ts","default":"./index.d.ts","require":"./index.d.cts"},"import":"./index.js","require":"./index.cjs"},"./package.json":"./package.json"},"gitHead":"8cf8b050749917fafbe11ebf11f6e8a41faa6108","scripts":{"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":"rm -rf dist/ && NODE_OPTIONS=--max-old-space-size=4096 yarn lc-build --config ./langchain.config.js --create-entrypoints --pre","format":"prettier --config .prettierrc --write \"src\"","prepack":"yarn build","lint:fix":"yarn lint:eslint --fix && yarn lint:dpdm","test:int":"NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.int\\.test.ts --testTimeout 100000 --maxWorkers=50%","build:cjs":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && yarn move-cjs-to-dist && rm -rf dist-cjs","build:esm":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/ && rm -rf 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":"yarn create-entrypoints && tsc --outDir dist/ --watch","lint:eslint":"NODE_OPTIONS=--max-old-space-size=4096 eslint --cache --ext .ts,.js src/","test:single":"NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000","format:check":"prettier --config .prettierrc --check \"src\"","build:scripts":"yarn create-entrypoints && yarn check-tree-shaking","move-cjs-to-dist":"yarn lc-build --config ./langchain.config.js --move-cjs-dist","check-tree-shaking":"yarn lc-build --config ./langchain.config.js --tree-shaking","create-entrypoints":"yarn lc-build --config ./langchain.config.js --create-entrypoints"},"_npmUser":{"name":"basproul","email":"braceasproul@gmail.com"},"repository":{"url":"git+ssh://git@github.com/langchain-ai/langchainjs.git","type":"git"},"_npmVersion":"10.5.2","description":"Various implementations of LangChain.js text splitters","directories":{},"_nodeVersion":"20.10.0","dependencies":{"js-tiktoken":"^1.0.12","@langchain/core":"<0.3.0 || >0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dpdm":"^3.12.0","jest":"^29.5.0","dotenv":"^16.3.1","eslint":"^8.33.0","rollup":"^4.5.2","ts-jest":"^29.1.0","prettier":"^2.8.3","@swc/core":"^1.3.90","@swc/jest":"^0.2.29","release-it":"^15.10.1","typescript":"<5.2.0","@jest/globals":"^29.5.0","@langchain/scripts":"~0.0","eslint-plugin-import":"^2.27.5","@tsconfig/recommended":"^1.0.3","jest-environment-node":"^29.6.4","eslint-config-prettier":"^8.6.0","eslint-plugin-prettier":"^4.2.1","@typescript-eslint/parser":"^6.12.0","eslint-config-airbnb-base":"^15.0.0","eslint-plugin-no-instanceof":"^1.0.1","@typescript-eslint/eslint-plugin":"^6.12.0"},"_npmOperationalInternal":{"tmp":"tmp/textsplitters_0.0.1_1715794858864_0.8577611274677059","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@langchain/textsplitters","version":"0.0.2","author":{"name":"LangChain"},"license":"MIT","_id":"@langchain/textsplitters@0.0.2","maintainers":[{"name":"andrewnguonly","email":"andrewnguonly@gmail.com"},{"name":"basproul","email":"braceasproul@gmail.com"},{"name":"jacoblee93","email":"jacoblee93@gmail.com"},{"name":"nfcampos","email":"nuno@boringbits.io"},{"name":"sullivan-sean","email":"ssullivan61198@gmail.com"},{"name":"hwchase17","email":"hw.chase.17@gmail.com"}],"homepage":"https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-INTEGRATION_NAME/","bugs":{"url":"https://github.com/langchain-ai/langchainjs/issues"},"dist":{"shasum":"500baa8341fb7fc86fca531a4192665a319504a3","tarball":"https://registry.npmjs.org/@langchain/textsplitters/-/textsplitters-0.0.2.tgz","fileCount":13,"integrity":"sha512-6bQOuYHTGYlkgPY/8M5WPq4nnXZpEysGzRopQCYjg2WLcEoIPUMMrXsAaNNdvU3BOeMrhin8izvpDPD165hX6Q==","signatures":[{"sig":"MEUCIQCjshrfY7uozdTCGyJD/HvVaX3F8qRcvVKs0kaxsm4fCgIgbWJBkqkOEvKfxnc5/ICA4QBurXVCALLDXnlHyPQp4A4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60116},"main":"./index.js","type":"module","types":"./index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":{"import":"./index.d.ts","default":"./index.d.ts","require":"./index.d.cts"},"import":"./index.js","require":"./index.cjs"},"./package.json":"./package.json"},"gitHead":"80f87ff154674ba7ccf77fdb07f8fdd76ae1bd10","scripts":{"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":"rm -rf dist/ && NODE_OPTIONS=--max-old-space-size=4096 yarn lc-build --config ./langchain.config.js --create-entrypoints --pre","format":"prettier --config .prettierrc --write \"src\"","prepack":"yarn build","lint:fix":"yarn lint:eslint --fix && yarn lint:dpdm","test:int":"NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.int\\.test.ts --testTimeout 100000 --maxWorkers=50%","build:cjs":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && yarn move-cjs-to-dist && rm -rf dist-cjs","build:esm":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/ && rm -rf 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":"yarn create-entrypoints && tsc --outDir dist/ --watch","lint:eslint":"NODE_OPTIONS=--max-old-space-size=4096 eslint --cache --ext .ts,.js src/","test:single":"NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000","format:check":"prettier --config .prettierrc --check \"src\"","build:scripts":"yarn create-entrypoints && yarn check-tree-shaking","move-cjs-to-dist":"yarn lc-build --config ./langchain.config.js --move-cjs-dist","check-tree-shaking":"yarn lc-build --config ./langchain.config.js --tree-shaking","create-entrypoints":"yarn lc-build --config ./langchain.config.js --create-entrypoints"},"_npmUser":{"name":"basproul","email":"braceasproul@gmail.com"},"repository":{"url":"git+ssh://git@github.com/langchain-ai/langchainjs.git","type":"git"},"_npmVersion":"10.5.2","description":"Various implementations of LangChain.js text splitters","directories":{},"_nodeVersion":"20.10.0","dependencies":{"js-tiktoken":"^1.0.12","@langchain/core":">0.1.0 <0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dpdm":"^3.12.0","jest":"^29.5.0","dotenv":"^16.3.1","eslint":"^8.33.0","rollup":"^4.5.2","ts-jest":"^29.1.0","prettier":"^2.8.3","@swc/core":"^1.3.90","@swc/jest":"^0.2.29","release-it":"^15.10.1","typescript":"<5.2.0","@jest/globals":"^29.5.0","@langchain/scripts":"~0.0","eslint-plugin-import":"^2.27.5","@tsconfig/recommended":"^1.0.3","jest-environment-node":"^29.6.4","eslint-config-prettier":"^8.6.0","eslint-plugin-prettier":"^4.2.1","@typescript-eslint/parser":"^6.12.0","eslint-config-airbnb-base":"^15.0.0","eslint-plugin-no-instanceof":"^1.0.1","@typescript-eslint/eslint-plugin":"^6.12.0"},"_npmOperationalInternal":{"tmp":"tmp/textsplitters_0.0.2_1715984094303_0.9255766303614799","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@langchain/textsplitters","version":"0.0.3","author":{"name":"LangChain"},"license":"MIT","_id":"@langchain/textsplitters@0.0.3","maintainers":[{"name":"vbarda","email":"vadym@langchain.dev"},{"name":"davidduong","email":"david@duong.cz"},{"name":"andrewnguonly","email":"andrewnguonly@gmail.com"},{"name":"basproul","email":"braceasproul@gmail.com"},{"name":"jacoblee93","email":"jacoblee93@gmail.com"},{"name":"nfcampos","email":"nuno@boringbits.io"},{"name":"sullivan-sean","email":"ssullivan61198@gmail.com"},{"name":"hwchase17","email":"hw.chase.17@gmail.com"}],"homepage":"https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-textsplitters/","bugs":{"url":"https://github.com/langchain-ai/langchainjs/issues"},"dist":{"shasum":"1a3cc93dd2ab330edb225400ded190a22fea14e3","tarball":"https://registry.npmjs.org/@langchain/textsplitters/-/textsplitters-0.0.3.tgz","fileCount":13,"integrity":"sha512-cXWgKE3sdWLSqAa8ykbCcUsUF1Kyr5J3HOWYGuobhPEycXW4WI++d5DhzdpL238mzoEXTi90VqfSCra37l5YqA==","signatures":[{"sig":"MEYCIQC/7Dk9mDtTzHYHFgRVvU5vwnRlADDBjEemDcEBzabeKAIhAOw+U/W+MeuWoRqFahseRdGc1giY4qPMxANVVQ8+3OJI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60091},"main":"./index.js","type":"module","types":"./index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":{"import":"./index.d.ts","default":"./index.d.ts","require":"./index.d.cts"},"import":"./index.js","require":"./index.cjs"},"./package.json":"./package.json"},"gitHead":"cae08ae3143307e011df01c018b28432c2e21c21","scripts":{"lint":"yarn lint:eslint && yarn lint:dpdm","test":"NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=\\.int\\.test.ts --testTimeout 30000 --maxWorkers=50%","build":"yarn turbo:command build:internal --filter=@langchain/textsplitters","clean":"rm -rf .turbo dist/","format":"prettier --config .prettierrc --write \"src\"","prepack":"yarn build","lint:fix":"yarn lint:eslint --fix && yarn lint:dpdm","test:int":"NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.int\\.test.ts --testTimeout 100000 --maxWorkers=50%","build:cjs":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && yarn move-cjs-to-dist && rm -rf dist-cjs","build:esm":"NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/ && rm -rf 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":"yarn create-entrypoints && tsc --outDir dist/ --watch","lint:eslint":"NODE_OPTIONS=--max-old-space-size=4096 eslint --cache --ext .ts,.js src/","test:single":"NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000","format:check":"prettier --config .prettierrc --check \"src\"","build:scripts":"yarn create-entrypoints && yarn check-tree-shaking","build:internal":"yarn lc-build:v2 --create-entrypoints --pre --tree-shaking","move-cjs-to-dist":"yarn lc-build --config ./langchain.config.js --move-cjs-dist","check-tree-shaking":"yarn lc-build --config ./langchain.config.js --tree-shaking","create-entrypoints":"yarn lc-build --config ./langchain.config.js --create-entrypoints"},"_npmUser":{"name":"jacoblee93","email":"jacoblee93@gmail.com"},"repository":{"url":"git+ssh://git@github.com/langchain-ai/langchainjs.git","type":"git"},"_npmVersion":"10.7.0","description":"Various implementations of LangChain.js text splitters","directories":{},"_nodeVersion":"22.2.0","dependencies":{"js-tiktoken":"^1.0.12","@langchain/core":">0.2.0 <0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dpdm":"^3.12.0","jest":"^29.5.0","dotenv":"^16.3.1","eslint":"^8.33.0","rollup":"^4.5.2","ts-jest":"^29.1.0","prettier":"^2.8.3","@swc/core":"^1.3.90","@swc/jest":"^0.2.29","release-it":"^15.10.1","typescript":"<5.2.0","@jest/globals":"^29.5.0","@langchain/scripts":"~0.0.14","eslint-plugin-import":"^2.27.5","@tsconfig/recommended":"^1.0.3","jest-environment-node":"^29.6.4","eslint-config-prettier":"^8.6.0","eslint-plugin-prettier":"^4.2.1","@typescript-eslint/parser":"^6.12.0","eslint-config-airbnb-base":"^15.0.0","eslint-plugin-no-instanceof":"^1.0.1","@typescript-eslint/eslint-plugin":"^6.12.0"},"_npmOperationalInternal":{"tmp":"tmp/textsplitters_0.0.3_1717708005885_0.9832190486566974","host":"s3://npm-registry-packages"}},"0.1.0-rc.0":{"name":"@langchain/textsplitters","version":"0.1.0-rc.0","author":{"name":"LangChain"},"license":"MIT","_id":"@langchain/textsplitters@0.1.0-rc.0","maintainers":[{"name":"maddyadams","email":"madelyn.adams1@gmail.com"},{"name":"sam_noyes","email":"sam@langchain.dev"},{"name":"vbarda","email":"vadym@langchain.dev"},{"name":"davidduong","email":"david@duong.cz"},{"name":"andrewnguonly","email":"andrewnguonly@gmail.com"},{"name":"basproul","email":"braceasproul@gmail.com"},{"name":"jacoblee93","email":"jacoblee93@gmail.com"},{"name":"nfcampos","email":"nuno@boringbits.io"},{"name":"sullivan-sean","email":"ssullivan61198@gmail.com"},{"name":"hwchase17","email":"hw.chase.17@gmail.com"}],"homepage":"https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-textsplitters/","bugs":{"url":"https://github.com/langchain-ai/langchainjs/issues"},"dist":{"shasum":"607c2687f1de755abc748887686ba663dda1f4ec","tarball":"https://registry.npmjs.org/@langchain/textsplitters/-/textsplitters-0.1.0-rc.0.tgz","fileCount":13,"integrity":"sha512-eLu+Yt/JHdAARa70ZGhya4vNzgffWvbvXXGSovM/rcFgmBNiNUZyfIneDj43jWnwHRMoCbjfxwFgwHELlEj3ZA==","signatures":[{"sig":"MEUCIA/3KhZ2J4qptH8tbkxZ8CZYNT7hWbZ1ykNMA4GI7I4oAiEAm+eWLUGR888P1LkEKI0+HRh9fbhCrrzhRGYooY5JihQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":59498},"main":"./index.js","type":"module","types":"./index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":{"import":"./index.d.ts","default":"./index.d.ts","require":"./index.d.cts"},"import":"./index.js","require":"./index.cjs"},"./package.json":"./package.json"},"gitHead":"e25f16e84d450a1fff40a7f308447739b1ae5f80","scripts":{"lint":"yarn lint:eslint && yarn lint:dpdm","test":"NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=\\.int\\.test.ts --testTimeout 30000 --maxWorkers=50%","build":"yarn turbo:command build:internal --filter=@langchain/textsplitters","clean":"rm -rf .turbo dist/","format":"prettier --config .prettierrc --write \"src\"","prepack":"yarn build","lint:fix":"yarn lint:eslint --fix && yarn lint:dpdm","test:int":"NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.int\\.test.ts --testTimeout 100000 --maxWorkers=50%","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","lint:eslint":"NODE_OPTIONS=--max-old-space-size=4096 eslint --cache --ext .ts,.js src/","test:single":"NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000","format:check":"prettier --config .prettierrc --check \"src\"","build:internal":"yarn lc_build --create-entrypoints --pre --tree-shaking"},"_npmUser":{"name":"jacoblee93","email":"jacoblee93@gmail.com"},"repository":{"url":"git+ssh://git@github.com/langchain-ai/langchainjs.git","type":"git"},"_npmVersion":"10.5.2","description":"Various implementations of LangChain.js text splitters","directories":{},"_nodeVersion":"20.13.1","dependencies":{"js-tiktoken":"^1.0.12"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"dpdm":"^3.12.0","jest":"^29.5.0","dotenv":"^16.3.1","eslint":"^8.33.0","rollup":"^4.5.2","ts-jest":"^29.1.0","prettier":"^2.8.3","@swc/core":"^1.3.90","@swc/jest":"^0.2.29","release-it":"^17.6.0","typescript":"<5.2.0","@jest/globals":"^29.5.0","@langchain/core":"workspace:*","@langchain/scripts":">=0.1.0 <0.2.0","eslint-plugin-import":"^2.27.5","@tsconfig/recommended":"^1.0.3","jest-environment-node":"^29.6.4","eslint-config-prettier":"^8.6.0","eslint-plugin-prettier":"^4.2.1","@typescript-eslint/parser":"^6.12.0","eslint-config-airbnb-base":"^15.0.0","eslint-plugin-no-instanceof":"^1.0.1","@typescript-eslint/eslint-plugin":"^6.12.0"},"peerDependencies":{"@langchain/core":">=0.2.21 <0.4.0 || 0.3.0-rc.0"},"_npmOperationalInternal":{"tmp":"tmp/textsplitters_0.1.0-rc.0_1725667609088_0.226166489621338","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@langchain/textsplitters","version":"0.1.0","author":{"name":"LangChain"},"license":"MIT","_id":"@langchain/textsplitters@0.1.0","maintainers":[{"name":"maddyadams","email":"madelyn.adams1@gmail.com"},{"name":"sam_noyes","email":"sam@langchain.dev"},{"name":"vbarda","email":"vadym@langchain.dev"},{"name":"davidduong","email":"david@duong.cz"},{"name":"andrewnguonly","email":"andrewnguonly@gmail.com"},{"name":"basproul","email":"braceasproul@gmail.com"},{"name":"jacoblee93","email":"jacoblee93@gmail.com"},{"name":"nfcampos","email":"nuno@boringbits.io"},{"name":"sullivan-sean","email":"ssullivan61198@gmail.com"},{"name":"hwchase17","email":"hw.chase.17@gmail.com"}],"homepage":"https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-textsplitters/","bugs":{"url":"https://github.com/langchain-ai/langchainjs/issues"},"dist":{"shasum":"f37620992192df09ecda3dfbd545b36a6bcbae46","tarball":"https://registry.npmjs.org/@langchain/textsplitters/-/textsplitters-0.1.0.tgz","fileCount":13,"integrity":"sha512-djI4uw9rlkAb5iMhtLED+xJebDdAG935AdP4eRTB02R7OB/act55Bj9wsskhZsvuyQRpO4O1wQOp85s6T6GWmw==","signatures":[{"sig":"MEYCIQCXYsSJMoNgUtK+eMZKt52i/U2uzpHrnfc4Ub+irfU5RAIhAMs6r7cTuND2YqySXCYT7NNC65F9A7AIkoCvKGpRfZjl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":59495},"main":"./index.js","type":"module","types":"./index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":{"import":"./index.d.ts","default":"./index.d.ts","require":"./index.d.cts"},"import":"./index.js","require":"./index.cjs"},"./package.json":"./package.json"},"gitHead":"9b348a2f26005d25cd4fd8942f9d0e16a87a5044","scripts":{"lint":"yarn lint:eslint && yarn lint:dpdm","test":"NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=\\.int\\.test.ts --testTimeout 30000 --maxWorkers=50%","build":"yarn turbo:command build:internal --filter=@langchain/textsplitters","clean":"rm -rf .turbo dist/","format":"prettier --config .prettierrc --write \"src\"","prepack":"yarn build","lint:fix":"yarn lint:eslint --fix && yarn lint:dpdm","test:int":"NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.int\\.test.ts --testTimeout 100000 --maxWorkers=50%","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","lint:eslint":"NODE_OPTIONS=--max-old-space-size=4096 eslint --cache --ext .ts,.js src/","test:single":"NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000","format:check":"prettier --config .prettierrc --check \"src\"","build:internal":"yarn lc_build --create-entrypoints --pre --tree-shaking"},"_npmUser":{"name":"jacoblee93","email":"jacoblee93@gmail.com"},"repository":{"url":"git+ssh://git@github.com/langchain-ai/langchainjs.git","type":"git"},"_npmVersion":"10.5.2","description":"Various implementations of LangChain.js text splitters","directories":{},"_nodeVersion":"20.13.1","dependencies":{"js-tiktoken":"^1.0.12"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dpdm":"^3.12.0","jest":"^29.5.0","dotenv":"^16.3.1","eslint":"^8.33.0","rollup":"^4.5.2","ts-jest":"^29.1.0","prettier":"^2.8.3","@swc/core":"^1.3.90","@swc/jest":"^0.2.29","release-it":"^17.6.0","typescript":"<5.2.0","@jest/globals":"^29.5.0","@langchain/core":"workspace:*","@langchain/scripts":">=0.1.0 <0.2.0","eslint-plugin-import":"^2.27.5","@tsconfig/recommended":"^1.0.3","jest-environment-node":"^29.6.4","eslint-config-prettier":"^8.6.0","eslint-plugin-prettier":"^4.2.1","@typescript-eslint/parser":"^6.12.0","eslint-config-airbnb-base":"^15.0.0","eslint-plugin-no-instanceof":"^1.0.1","@typescript-eslint/eslint-plugin":"^6.12.0"},"peerDependencies":{"@langchain/core":">=0.2.21 <0.4.0"},"_npmOperationalInternal":{"tmp":"tmp/textsplitters_0.1.0_1726260909457_0.5936206339214871","host":"s3://npm-registry-packages"}}},"time":{"created":"2024-04-23T03:33:44.067Z","modified":"2025-06-07T19:54:21.219Z","0.0.0":"2024-04-23T03:33:44.406Z","0.0.1":"2024-05-15T17:40:59.000Z","0.0.2":"2024-05-17T22:14:54.489Z","0.0.3":"2024-06-06T21:06:46.097Z","0.1.0-rc.0":"2024-09-07T00:06:49.262Z","0.1.0":"2024-09-13T20:55:09.673Z"},"bugs":{"url":"https://github.com/langchain-ai/langchainjs/issues"},"author":{"name":"LangChain"},"license":"MIT","homepage":"https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-textsplitters/","repository":{"url":"git+ssh://git@github.com/langchain-ai/langchainjs.git","type":"git"},"description":"Various implementations of LangChain.js text splitters","maintainers":[{"email":"hw.chase.17@gmail.com","name":"hwchase17"},{"email":"jacoblee93@gmail.com","name":"jacoblee93"},{"email":"braceasproul@gmail.com","name":"basproul"},{"email":"eric@langchain.dev","name":"eric_langchain"},{"email":"andrewnguonly@gmail.com","name":"andrewnguonly"},{"email":"nuno@boringbits.io","name":"nfcampos"},{"email":"david@duong.cz","name":"davidduong"},{"email":"madelyn.adams1@gmail.com","name":"maddyadams"},{"email":"sam@langchain.dev","name":"sam_noyes"},{"email":"hunter@hntrl.io","name":"hntrl"}],"readme":"# 🦜✂️ @langchain/textsplitters\n\nThis package contains various implementations of LangChain.js text splitters, most commonly used as part of retrieval-augmented generation (RAG) pipelines.\n\n## Installation\n\n```bash npm2yarn\nnpm install @langchain/textsplitters @langchain/core\n```\n\n## Development\n\nTo develop the `@langchain/textsplitters` package, you'll need to follow these instructions:\n\n### Install dependencies\n\n```bash\nyarn install\n```\n\n### Build the package\n\n```bash\nyarn build\n```\n\nOr from the repo root:\n\n```bash\nyarn build --filter=@langchain/textsplitters\n```\n\n### Run tests\n\nTest files should live within a `tests/` file in the `src/` folder. Unit tests should end in `.test.ts` and integration tests should\nend in `.int.test.ts`:\n\n```bash\n$ yarn test\n$ yarn test:int\n```\n\n### Lint & Format\n\nRun the linter & formatter to ensure your code is up to standard:\n\n```bash\nyarn lint && yarn format\n```\n\n### Adding new entrypoints\n\nIf you add a new file to be exported, either import & re-export from `src/index.ts`, or add it to the `entrypoints` field in the `config` variable located inside `langchain.config.js` and run `yarn build` to generate the new entrypoint.\n","readmeFilename":"README.md"}