Can be use gleam as a nodejs library #2297
Answered
by
lpil
wingyplus
asked this question in
Questions & support
-
As title said, i want to transpile to js and use it as a library but I’m not sure how to do it. |
Beta Was this translation helpful? Give feedback.
Answered by
lpil
Aug 12, 2023
Replies: 1 comment 3 replies
-
Hello! Yes, you could take the compiled JavaScript code and distribute it. One thing to consider though is that you'd also need to include any Gleam packages that your project depends on, so you may want to consider using a bundler to include them all. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That sounds good to me!