About
✨ Proposal: Tinylaunch Description for Divider
Divider is a lightweight TypeScript utility to split strings and arrays with flexible rules.
Whether you need to cut by index, character, or delimiter, Divider makes it easy and consistent.
🚀 Key features:
🧩 Flexible division — by index positions or string delimiters
🧵 Handles nested input — works with both
stringandstring[]🎛️ Customizable output — options like
flatten,trim,exclude🎯 Targeted extractors —
dividerFirst(),dividerLast()🔁 Chunking support —
dividerLoop()for splitting into fixed-size parts🔢 Digit–letter splitter —
dividerNumberString()for mixed content
📦 Install via npm:
pnpm add @nyaomaru/divider
📖 Docs & examples: divider-docs.vercel.app
