Purpose & Scope
Oink saves you from copying build artefacts by hand. Learn a package once, run oink in any project that depends on it, and Oink keeps the install in sync.
Why Oink exists
Section titled “Why Oink exists”- Sync source code straight into a consumer project without publishing.
- Support frontend bundles, amend-style services, and everything in between.
- Handle single-package repos and Yarn or PNPM workspaces with a single workflow.
The core loop
Section titled “The core loop”- Learn a package with
oink learnso it appears in the registry. - Link from inside the consumer project with
oink. - Iterate by adding
—livereloadfor automatic rebuilds during development.
When to use it
Section titled “When to use it”Reach for Oink when you:
- Need to test changes in one package against another without publishing.
- Share code across a workspace and want reliable updates.
- Prefer clear logs, notifications, and guardrails while linking.
Not sure which strategy fits your package? Head to Linking Strategies for a simple table that explains every option.