flatbread from Romagna, Italian street food classic, pronounced [pjaˈdiːna] — like pya-DEE-nah. It is collection of small, flavorful utilities for modern JavaScript/TypeScript projects.
It’s a base (you can fill it with anything) → exactly like each package. — mix only what you need.
- @piadina/scheme-up
- Type-safe, versioned API response handler with automatic migrations and semver support. Perfect for evolving JSON contracts over time.
- README & usage
- Full tutorial & examples
- @piadina/fetch-jsonl
- Stream and parse JSON Lines (JSONL/NDJSON) directly with fetch. Yields parsed JSON objects one line at a time using async generators.
- Perfect for handling large datasets, streaming APIs, and real-time data processing.
- README & usage
- @piadina/relabelr
- Smart label and filename conflict resolution with customizable copy formats. Automatically generates unique names like "Copy", "Copy (1)", or custom patterns.
- Ideal for file management systems, document editors, and preventing duplicate names in UIs.
- README & usage
npm install @piadina/scheme-up
npm install @piadina/fetch-jsonl
npm install @piadina/relabelrMIT
Piadina is about:
-
Small portions → each package solves one problem.
-
Composable recipes → utilities can be combined freely.
-
Simple ingredients → minimal dependencies, clear APIs.