workflow-data
v1.0.9
Published
Minimal, dependency-free data tools for rapid development of small projects in node.js.
Downloads
5
Maintainers
Readme
Minimal, dependency-free data utilities for rapid Node.js workflows. CSV, JSON, filtering, pivot tables, and more.
Installation
npm install workflow-dataQuick Start
import { readCsv, filter, pivot, writeJson } from "workflow-data";
// Read CSV data
const records = readCsv("data.csv");
// Filter active records
const active = filter(records, { status: "active" });
// Pivot data by department and month, summing hours
const summary = pivot(active, "department", "month", "hours");Features
- 📦 Zero Dependencies: Lightweight standalone module
- 📂 Read & Write: CSV, JSON, HTML
- 🔎 Filter & Update: Intuitive filtering and in-place updates
- 📊 Pivot & Sum: Quickly summarize and aggregate datasets
- 🌳 Tree Shaking: ES Modules for optimized builds and minimal bundle size
Info
Full API Docs: Coming Soon
License: ISC
Author: Adam Ballinger
