Skip to content

Conversation

@kennethlynne
Copy link

@kennethlynne kennethlynne commented Nov 19, 2025

Add library entry point (src/lib.ts) that exports utilities for programmatic consumption. This allows using splat-transform as a library, not just as a CLI tool.

Changes:

  • Add src/lib.ts with exports for DataTable, Column, readers, writers
  • Update rollup.config.mjs to build library bundle to lib/
  • Update package.json with main, module, types, and exports fields
  • Add lib/ to .gitignore to exclude build artifacts

Related to #71

@kennethlynne kennethlynne force-pushed the main branch 3 times, most recently from fc70ba5 to f18b48a Compare November 20, 2025 00:29
Add library exports for programmatic usage

Add library entry point (src/lib.ts) that exports utilities for
programmatic consumption. This allows using splat-transform as a
library, not just as a CLI tool.
@willeastcott
Copy link
Contributor

Presumably, some README updates will be required too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants