-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
FYI - immutable-js ported to Deno #1798
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
Comments
Hi, Thanks for this. I do not know if this is really useful in comparaison to npmjs. |
Hi, You cannot use npm packages in Deno. (its module system is VERY different from that of Node). I'll think about automating it, but I dont have time these days - I'm adding that to my todolist. In the meantime, I updated & published 4.0.0-rc.14 on deno.land (see this commit - it only takes 5 seconds for me) |
OK great ! 👍 I'm closing this as user that want to search immutable on deno will find https://deno.land/x/immutable@4.0.0-rc.14-deno ! 🎉 |
I've noticed that https://deno.land/x/immutable has not been updated in a while. Are there any plans on moving immutable-js-deno to Also, on the note of
Moving immutable js to 100% esm support (by changing |
Can anybody sum up what needs to be done to make immutable compatible with deno ? |
Hi, I publisher of https://deno.land/x/immutable here... This Denoified version of immutable is just a hack (literraly 3 lines of code) that exports the js bundle of immutable-js, and its type definition. That does the trick (or at least used to) for the Deno interpreter, so you could use as if it was an actual Typescript bundle. I think that upgrading to a newer immutable-js should be very straightforward using the same trick. I dont have much time to do that and test it with a newer version of Deno at the moment, but if someone is willing to do it, I'd gladly accept a pullrequest. |
If this is only a matter of this single file, can we include it in the main immutable package ? |
I don't see why not. Would make installation and updating much simpler |
Yes, but would have to commit the built js bundle as well, in order to make it downloadable by Deno (that's why I excluded those from |
I ported immutable-js so it is usable in Deno.
You can find it at https://deno.land/x/immutable Let me know if you have any problem with that :)
(And thank you for this great lib !)
The text was updated successfully, but these errors were encountered: