{"_id":"@dakshp1234/langchain-textsplitters","_rev":"2-d8cdd9b102630ec59c71e7c3f574a87b","name":"@dakshp1234/langchain-textsplitters","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.1":{"name":"@dakshp1234/langchain-textsplitters","version":"1.0.1","author":{"name":"LangChain"},"license":"MIT","_id":"@dakshp1234/langchain-textsplitters@1.0.1","maintainers":[{"name":"dakshpurohit","email":"dakshpurohit2005@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":"2473d08830568f82fd5258bed245612e64941f93","tarball":"https://registry.npmjs.org/@dakshp1234/langchain-textsplitters/-/langchain-textsplitters-1.0.1.tgz","fileCount":24,"integrity":"sha512-ZkGpeoQ7DFaQ4LQB5cPb1AbN8DjFNac4WhgGevMzIiS/RBXHWYtVKdbQUXnaN5GbZfyFnh0ILnoJRJchFaqglQ==","signatures":[{"sig":"MEUCIAzxcsUeucvpK1ynxWDwFmDrmi9L1ZqyQ86CxNIyamm3AiEA7jOJRS/Fu4nSC/U0dt8o9SJ5sTzRl6vXpULMKZNVV2g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":158199},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.cts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"input":"./src/index.ts","import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"gitHead":"2301260ae90ead5c5f725c8dae1487b6722607e2","scripts":{"test":"vitest --run","build":"turbo build:compile --filter @dakshp1234/langchain-textsplitters --output-logs new-only","clean":"rm -rf .turbo dist/","test:watch":"vitest --watch","build:compile":"tsdown"},"_npmUser":{"name":"dakshpurohit","email":"dakshpurohit2005@gmail.com"},"repository":{"url":"git+ssh://git@github.com/langchain-ai/langchainjs.git","type":"git"},"_npmVersion":"11.6.2","description":"Various implementations of LangChain.js text splitters","directories":{},"_nodeVersion":"24.12.0","dependencies":{"js-tiktoken":"^1.0.12"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dpdm":"^3.14.0","dotenv":"^17.4.0","vitest":"^4.1.2","typescript":"~5.8.3","@langchain/core":"1.1.0","@langchain/tsconfig":"^1.0.3","@vitest/coverage-v8":"^3.2.4","@tsconfig/recommended":"^1.0.3"},"peerDependencies":{"@langchain/core":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/langchain-textsplitters_1.0.1_1775993335193_0.8282009178974326","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@dakshp1234/langchain-textsplitters","version":"1.0.2","description":"Various implementations of LangChain.js text splitters","author":{"name":"LangChain"},"license":"MIT","type":"module","engines":{"node":">=20"},"repository":{"type":"git","url":"git+ssh://git@github.com/langchain-ai/langchainjs.git"},"homepage":"https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-textsplitters/","scripts":{"build":"turbo build:compile --filter @dakshp1234/langchain-textsplitters --output-logs new-only","build:compile":"tsdown","clean":"rm -rf .turbo dist/","test":"vitest --run","test:watch":"vitest --watch"},"dependencies":{"js-tiktoken":"^1.0.12"},"peerDependencies":{"@langchain/core":"^1.0.0"},"devDependencies":{"@langchain/core":"1.1.0","@langchain/tsconfig":"^1.0.3","@tsconfig/recommended":"^1.0.3","@vitest/coverage-v8":"^3.2.4","dotenv":"^17.4.0","dpdm":"^3.14.0","typescript":"~5.8.3","vitest":"^4.1.2"},"publishConfig":{"access":"public"},"main":"./dist/index.cjs","types":"./dist/index.d.cts","exports":{".":{"input":"./src/index.ts","require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./package.json":"./package.json"},"module":"./dist/index.js","gitHead":"2301260ae90ead5c5f725c8dae1487b6722607e2","_id":"@dakshp1234/langchain-textsplitters@1.0.2","bugs":{"url":"https://github.com/langchain-ai/langchainjs/issues"},"_nodeVersion":"24.12.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-AGRFPTsi5D1xJKLZ5U12EUrLHO0nfzg3vLG+EDXT24CsRnRFYbj1wedTHRE6K0Xw1QJp8rYLi8o14GVe/U79OA==","shasum":"fb86bd3a1056fc74aa62a3f7438bc28988305011","tarball":"https://registry.npmjs.org/@dakshp1234/langchain-textsplitters/-/langchain-textsplitters-1.0.2.tgz","fileCount":24,"unpackedSize":174979,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFkhugQP7M/Yc+UZ05q3Ij4hAzeDWCl8dv8g4qGznRPsAiEA/Nr/d6XLbW4ltJVQQ7Rxv47lLmxlPLFqoQIRtVUGle0="}]},"_npmUser":{"name":"dakshpurohit","email":"dakshpurohit2005@gmail.com"},"directories":{},"maintainers":[{"name":"dakshpurohit","email":"dakshpurohit2005@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/langchain-textsplitters_1.0.2_1775995116562_0.11279434123147891"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-12T11:28:55.121Z","modified":"2026-04-12T11:58:36.847Z","1.0.1":"2026-04-12T11:28:55.341Z","1.0.2":"2026-04-12T11:58:36.699Z"},"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":{"type":"git","url":"git+ssh://git@github.com/langchain-ai/langchainjs.git"},"description":"Various implementations of LangChain.js text splitters","maintainers":[{"name":"dakshpurohit","email":"dakshpurohit2005@gmail.com"}],"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\npnpm install\n```\n\n### Build the package\n\n```bash\npnpm build\n```\n\nOr from the repo root:\n\n```bash\npnpm 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$ pnpm test\n$ pnpm test:int\n```\n\n### Lint & Format\n\nRun the linter & formatter to ensure your code is up to standard:\n\n```bash\npnpm lint && pnpm 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 `exports` field in the `package.json` file and run `pnpm build` to generate the new entrypoint.\n","readmeFilename":"README.md"}