-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
@remotion/paths
: New cutPath()
API
#5376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@remotion/paths
: New cutPath()
API
#5376
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Co-authored-by: JonnyBurger <[email protected]>
@copilot from the doc page, remove the image: frontmatter and run bun render-cards.mjs to generate it |
@copilot try this again, now it should work: from the doc page, remove the image: frontmatter and run bun render-cards.mjs to generate it |
…data Co-authored-by: JonnyBurger <[email protected]>
Done! Removed the |
@remotion/paths
: New cutPath()
API
This PR promotes
cutPath
from an internal API (PathInternals.cutPath
) to a public API in@remotion/paths
, making it more accessible and discoverable for users.Changes
🚀 Public API Export
export {cutPath} from './cut-path';
topackages/paths/src/index.ts
cutPath
is now available as a top-level import:import {cutPath} from '@remotion/paths'
PathInternals.cutPath
📚 Documentation
cutPath()
section with usage example, parameters, and return valuepackages/docs/docs/paths/cut-path.mdx
with:cutPath()
✅ Tests
packages/paths/src/test/cut-path.test.ts
Usage
Verification
This change improves the developer experience by making path cutting functionality easily discoverable and accessible without needing to access internal APIs.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.