{"name":"@langchain/textsplitters","version":"1.0.1","author":{"name":"LangChain"},"license":"MIT","_id":"@langchain/textsplitters@1.0.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":"292f9c93239178c248b3338acf7b68aa47aa9830","tarball":"http://registry-npm.ywwl.com/@langchain/textsplitters/download/@langchain/textsplitters-1.0.1.tgz","fileCount":15,"integrity":"sha512-rheJlB01iVtrOUzttscutRgLybPH9qR79EyzBEbf1u97ljWyuxQfCwIWK+SjoQTM9O8M7GGLLRBSYE26Jmcoww==","signatures":[{"sig":"MEUCIGgqw6q0p7Mt7qkl59RLMpyVZgFoKDEoArXKhKujWQeZAiEA1fSxvG5y6xiiieGRK4JR6IAfcrFuSCxHBgD7N5N3JWQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@langchain%2ftextsplitters@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":104216,"size":14092,"noattachment":false,"key":"/@langchain/textsplitters/-/@langchain/textsplitters-1.0.1.tgz"},"main":"./dist/index.cjs","type":"module","_from":"file:langchain-textsplitters-1.0.1.tgz","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"},"scripts":{"lint":"pnpm lint:eslint && pnpm lint:dpdm","test":"vitest --run","build":"turbo build:compile --filter @langchain/textsplitters --output-logs new-only","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":"eslint --cache src/","format:check":"prettier --config .prettierrc --check \"src\"","build:compile":"tsdown"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e992f148-3426-45de-95b3-97a6fb2e4678"}},"_resolved":"/tmp/8ad11cd25393b11cae3af5245085d060/langchain-textsplitters-1.0.1.tgz","_integrity":"sha512-rheJlB01iVtrOUzttscutRgLybPH9qR79EyzBEbf1u97ljWyuxQfCwIWK+SjoQTM9O8M7GGLLRBSYE26Jmcoww==","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":{},"_nodeVersion":"24.6.0","dependencies":{"js-tiktoken":"^1.0.12"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dpdm":"^3.14.0","dotenv":"^16.3.1","eslint":"^9.34.0","rollup":"^4.5.2","vitest":"^3.2.4","prettier":"^2.8.3","typescript":"~5.8.3","@langchain/core":"1.1.0","@langchain/eslint":"0.1.1","@vitest/coverage-v8":"^3.2.4","@tsconfig/recommended":"^1.0.3"},"peerDependencies":{"@langchain/core":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/textsplitters_1.0.1_1764006360132_0.6276266460927094","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":1764006360350,"_cnpm_publish_time":1764006360350,"dist-tags":{"alpha":"1.0.0-alpha.1","latest":"1.0.2","next":"0.1.0-rc.0"}}