Skip to content
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

feat: bundling and exposing getAlt function for the use in nodejs #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sehilyi
Copy link
Member

@sehilyi sehilyi commented Feb 28, 2025

This PR tries to expose utility functions, specifically getAlt(). This enables generating alt text in bulk.

I made a separate entry point for utills (i.e., altgosling/utils). This enables isolating the React-related code so that altgosling/utils can be imported in nodejs (e.g., several variables used in React, such as window, are not compatible in nodejs, hence returning errors when importing the entire library (altgosling).

@sehilyi
Copy link
Member Author

sehilyi commented Feb 28, 2025

I just now realized that #54 also works on the bundling. It would make sense to merge #54 first when it's done and revisit work in this PR.

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.

1 participant