Ashcon Partovi
Ashcon Partovi
Thanks for working on this! Closing this out as an old pull request, since the README has changed and we have [documentation](https://bun.sh/docs) now.
@robobun ```js import { program } from 'commander'; program.option('--first').option('-s, --separator '); program.parse(); const options = program.opts(); const limit = options.first ? 1 : undefined; console.log(program.args[0].split(options.separator, limit)); ```
@robobun ```js const { program } = require('commander'); program .option('--first') .option('-s, --separator '); program.parse(); const options = program.opts(); console.log("Options:", options); console.log("Program:", program); ```
It looks like `commander` should work as of [Bun v0.3.0](https://bun.sh/blog/bun-v0.3.0) 🎉 If you're still having issue, please feel free to open another issue.
@robobun ```js var argv = require('yargs/yargs')(process.argv.slice(2)).argv; if (argv.ships > 3 && argv.distance < 53.5) { console.log('Plunder more riffiwobbles!'); } else { console.log('Retreat from the xupptumblers!'); } ```
`yargs` should work in [Bun v0.3.0](https://bun.sh/blog/bun-v0.3.0), if you're still having issues please feel free to open another issue.
Thanks for working on this! Closing this out as an old pull request, since the README has changed and we have [documentation](https://bun.sh/docs) now.
This was fixed in #1639
This should now be possible, we've tested [Bun 0.3.0](https://bun.sh/blog/bun-v0.3.0) on Amazon Linux 2 and it works. (though work still needs to be done to wire up the Lambda Layer)
@robobun ```js await fetch("https://unicode.org/Public/emoji/15.0/emoji-test.txt"); ```