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
Support for Deno #315
Comments
I'd love to add support! I've looked played around with deno a few times. I'd definitely be interested in hearing thoughts on it, but I'd need someone else to take it on (FWIW I'm a single dad and my girls just started back in school, and we're doing distance learning. So my plate is a bit fuller than usual until we get the hang of this). |
I have tinkered a bit with Deno and my experience is pretty great so far :-) My experience so far:
Anyway, I'd like to help porting enquirer to Deno but I'm not sure if I can help much on an entirely unknown code-base and with limited time. So no promises but I'll try to have a look. |
From what I see in the code, these are the NodeJS/external APIs that should be shimed:
Research method
Migration method
WDYT? |
I have started fiddling around in my fork |
@jonschlinkert You can review the code here: https://github.com/enquirer/enquirer/compare/master...quilicicf:master_deno?expand=1 (real PR coming in Hacktober hehe...) Notable parts:
|
Current state:
|
@jonschlinkert I have opened a PR so you can see my progress (#316 ) It's time consuming so I'd like to get the approach right before investing too much if possible :) |
Any chance to get this looked at ? 🙁 |
I absolutely dread to be one of those 'what's the progress' people on a github issue ... but given this PR is over a year ago and Deno is maturing nicely AND inquirer is a terribly useful module, I'm going to do it anyway, just for this once: Any progress to solving this? |
I stumbled on issues along the way, and don't know the code base enough to make informed decisions about the pain points. I guess the best way to go forward would be to chunk the changes:
But without help from the maintainers that's going to prove tough IMO. I switched to cliffy which is pretty nice and fully developed for Deno. The maintainer is a nice bloke and has taken feedback into account. |
This is kinda useful because deno support will also mean browser support, today I tried importing enquirer on the browser and sadly it has a hard dependency on node's readline, why can't I give my own implementation of readline before the module loads??? |
Hi guys,
Do you have any plans to add compatibility for deno?
I'd really like to try implementing my CLI scripts with Deno and without a good arguments parser and prompt library it's not very fun.
Yargs is currently moving to Deno, now the only thing that remains is a good prompt library :-)
The text was updated successfully, but these errors were encountered: