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 string and string[]

  • 🎛️ Customizable output — options like flatten, trim, exclude

  • 🎯 Targeted extractorsdividerFirst(), dividerLast()

  • 🔁 Chunking supportdividerLoop() for splitting into fixed-size parts

  • 🔢 Digit–letter splitterdividerNumberString() for mixed content

📦 Install via npm:

pnpm add @nyaomaru/divider

📖 Docs & examples: divider-docs.vercel.app