{"_id":"@langchain/textsplitters@1.0.2","bugs":{"url":"https://github.com/langchain-ai/langchainjs/issues"},"dist":{"shasum":"1fae4e8fdfad028eaab92d94fe5c37a6ceaf3b70","tarball":"http://registry-npm.ywwl.com/@langchain/textsplitters/download/@langchain/textsplitters-1.0.2.tgz","fileCount":16,"integrity":"sha512-UNCmlyFIRlRfVxqpmcRsp1jQrscnIVVqRKrrjFF2wHHq+VGTv+VDkGZLyEVUopJfHIdaiXfOKlSrROQui7VLFA==","signatures":[{"sig":"MEUCIQDBiX3rHgaA+ckAtO+A6IAeKCaLOafoujAMislCaaFqjgIgS3/xEJG4ARtYLcsTZtrbtsMKyUfLgjziOUekWm8s7Fo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEr9z8BGLCznIBnKboN4gQ81tgZWj3Jk390OVnxNk7BCAiBu5UZ1kH+y6jfC+UxgymDjWgcxAP7SZnIfaPRAjOxBVQ=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@langchain%2ftextsplitters@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":103130,"size":18668,"noattachment":false,"key":"/@langchain/textsplitters/-/@langchain/textsplitters-1.0.2.tgz"},"main":"./dist/index.cjs","name":"@langchain/textsplitters","type":"module","_from":"file:langchain-textsplitters-1.0.2.tgz","types":"./dist/index.d.cts","author":{"name":"LangChain"},"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"},"license":"MIT","scripts":{"test":"vitest --run","build":"turbo build:compile --filter @langchain/textsplitters --output-logs new-only","clean":"rm -rf .turbo dist/","test:watch":"vitest --watch","build:compile":"tsdown"},"version":"1.0.2","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e992f148-3426-45de-95b3-97a6fb2e4678"}},"homepage":"https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-textsplitters/","_resolved":"/tmp/a739eeb300ddec2a31b208db109c27a2/langchain-textsplitters-1.0.2.tgz","_integrity":"sha512-UNCmlyFIRlRfVxqpmcRsp1jQrscnIVVqRKrrjFF2wHHq+VGTv+VDkGZLyEVUopJfHIdaiXfOKlSrROQui7VLFA==","repository":{"url":"git+ssh://git@github.com/langchain-ai/langchainjs.git","type":"git"},"_npmVersion":"11.5.1","description":"Various implementations of LangChain.js text splitters","directories":{},"maintainers":[{"name":"lc-oss-admin","email":"oss-admin@langchain.dev"},{"name":"langchain-security","email":"infra@langchain.dev"}],"_nodeVersion":"24.6.0","dependencies":{"js-tiktoken":"^1.0.12"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dpdm":"^4.3.0","dotenv":"^17.4.2","vitest":"^4.1.11","typescript":"~7.0.2","@langchain/core":"^1.2.13","@langchain/tsconfig":"0.0.1","@vitest/coverage-v8":"^4.1.11","@tsconfig/recommended":"^1.0.3"},"peerDependencies":{"@langchain/core":"^1.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/textsplitters_1.0.2_1790489544362_0.8199932228708031"},"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":1790489544466,"_cnpm_publish_time":1790489544466,"dist-tags":{"alpha":"1.0.0-alpha.1","latest":"1.0.2","next":"0.1.0-rc.0"}}