@langchain/textsplitters
Various implementations of LangChain.js text splitters
@langchain/textsplitters@1.0.2 was published on 2026-09-27. Its manifest declares 1 runtime dependency and 1 peer requirement. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=20.
All @langchain/textsplitters versions · Permanent reference to 1.0.2
Package specifications
| Version | 1.0.2 |
|---|---|
| License declaration | MIT |
| Published | 2026-09-27T06:12:24.466Z |
| Node.js requirement | >=20 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 1 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 100.71 KiB |
| Published file count | 16 |
| Package type | module |
| ES module entry | ./dist/index.js |
| Default entry | ./dist/index.cjs |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 2 |
| Repository stars | 18293 |
| Repository forks | 3455 |
Install @langchain/textsplitters 1.0.2
npm install @langchain/textsplitters@1.0.2 pnpm add @langchain/textsplitters@1.0.2 yarn add @langchain/textsplitters@1.0.2
Runtime dependencies
- js-tiktoken ^1.0.12
Peer requirements
- @langchain/core ^1.0.0
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- base64-js@1.5.1 — indirect
- js-tiktoken@1.0.21 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
Evidence and freshness
- https://registry.npmjs.org/%40langchain%2Ftextsplitters/1.0.2 — retrieved 2026-10-30T02:01:45.876Z
- https://api.deps.dev/v3/projects/github.com%2Flangchain-ai%2Flangchainjs — retrieved 2026-10-29T23:17:46.923Z
- https://api.deps.dev/v3/systems/npm/packages/%40langchain%2Ftextsplitters/versions/1.0.2 — retrieved 2026-10-30T02:01:46.456Z
- https://api.deps.dev/v3/systems/npm/packages/%40langchain%2Ftextsplitters/versions/1.0.2:dependencies — retrieved 2026-10-30T02:01:46.477Z