{"name":"@langchain/textsplitters","version":"1.0.0-alpha.1","author":{"name":"LangChain"},"license":"MIT","_id":"@langchain/textsplitters@1.0.0-alpha.1","maintainers":[{"name":"hwchase17","email":"hw.chase.17@gmail.com"},{"name":"jacoblee93","email":"jacoblee93@gmail.com"},{"name":"basproul","email":"braceasproul@gmail.com"},{"name":"eric_langchain","email":"eric@langchain.dev"},{"name":"andrewnguonly","email":"andrewnguonly@gmail.com"},{"name":"nfcampos","email":"nuno@boringbits.io"},{"name":"davidduong","email":"david@duong.cz"},{"name":"maddyadams","email":"madelyn.adams1@gmail.com"},{"name":"sam_noyes","email":"sam@langchain.dev"},{"name":"hntrl","email":"hunter@hntrl.io"},{"name":"christian-bromann","email":"mail@bromann.dev"}],"homepage":"https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-textsplitters/","bugs":{"url":"https://github.com/langchain-ai/langchainjs/issues"},"dist":{"shasum":"4aa4e0d1cfa767b123de7c2685eb2d7c9d589873","tarball":"http://registry-npm.ywwl.com/@langchain/textsplitters/download/@langchain/textsplitters-1.0.0-alpha.1.tgz","fileCount":16,"integrity":"sha512-PcSVR/WSaGR7mz71mrw6f5f6bAFvV+DkYnuvGhK7/Rkg/Nr78XW+gTP8SDkX57yLoDI0AMaIIFArT++FnTsgSg==","signatures":[{"sig":"MEQCIFyEK5sgqnc7dxq6oyRj5Y1dHAtjwUDodhqFQ2DMJ/faAiAXivhHLAQv8I/Qld+9blMk+hZpFEzXbTalcbwvEqI3Rw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":120572,"size":21165,"noattachment":false,"key":"/@langchain/textsplitters/-/@langchain/textsplitters-1.0.0-alpha.1.tgz"},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","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"},"scripts":{"lint":"pnpm lint:eslint && pnpm lint:dpdm","test":"vitest --run","build":"pnpm --filter @langchain/build compile @langchain/textsplitters","clean":"rm -rf .turbo dist/","format":"prettier --config .prettierrc --write \"src\"","lint:fix":"pnpm lint:eslint --fix && pnpm lint:dpdm","lint:dpdm":"dpdm --skip-dynamic-imports circular --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts","test:watch":"vitest --watch","lint:eslint":"NODE_OPTIONS=--max-old-space-size=4096 eslint --cache --ext .ts,.js src/","format:check":"prettier --config .prettierrc --check \"src\""},"_npmUser":{"name":"hntrl","email":"hunter@hntrl.io"},"repository":{"url":"git+ssh://git@github.com/langchain-ai/langchainjs.git","type":"git"},"_npmVersion":"10.8.2","description":"Various implementations of LangChain.js text splitters","directories":{},"_nodeVersion":"20.19.3","dependencies":{"js-tiktoken":"^1.0.12"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"dpdm":"^3.14.0","dotenv":"^16.3.1","eslint":"^8.33.0","rollup":"^4.5.2","vitest":"^3.2.4","prettier":"^2.8.3","release-it":"^18.1.2","typescript":"~5.8.3","@langchain/core":"workspace:*","@vitest/coverage-v8":"^3.2.4","eslint-plugin-import":"^2.27.5","@tsconfig/recommended":"^1.0.3","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":"^1.0.0-alpha.1 <2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/textsplitters_1.0.0-alpha.1_1756410813656_0.9445634399186047","host":"s3://npm-registry-packages-npm-production"},"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","publish_time":1756410813839,"_cnpm_publish_time":1756410813839,"dist-tags":{"alpha":"1.0.0-alpha.1","latest":"1.0.2","next":"0.1.0-rc.0"}}