Skip to content

Export core as a package #479

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

Open
riqwan opened this issue Apr 12, 2025 · 1 comment
Open

Export core as a package #479

riqwan opened this issue Apr 12, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@riqwan
Copy link

riqwan commented Apr 12, 2025

Hey,

Love the repo! I'd like to propose exporting core as a package that i can use in my nodejs app or export the core functions as a part of the repomix package.

There's plenty of functions in the core folder that we can use during pre processing before running the cli.

Happy to open a PR on a direction you agree on 🤞🏻

@yamadashy
Copy link
Owner

Hi, @riqwan !
Thanks for the suggestion!

At the moment, only the parts needed for repomix.com are exported, so feel free to add additional exports if there are functions you need.
I’d definitely like to make it easier for other tools to use repomix as a package.

You can refer to src/index.ts for the current exports.
Would be great if you could open a PR!

@yamadashy yamadashy added the enhancement New feature or request label Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants
@yamadashy @riqwan and others