fent
fent
does `import util from 'ytdl-core/lib/util` work?
ah, well I plan on converting this library to ts in the future, which will generate definitions for each source file otherwise, there's this guide https://nodejs.org/api/esm.html#esm_dual_commonjs_es_module_packages
ytdl uses `process.stdout.isTTY` to know if the program is piping to a terminal. if that property is false, it will assume the program is being piped to another program, so...
yep, i was already planning this, but hadn't recorded it in an issue yet. just need to find the time to 😅 > and do you mind if I show...
that would be great!
those are all exported by ytdl so that they can be used by users. they're also exported in `index.js`, but i also want to support someone only importing `info.js`
> why user can't import them from entry point directly? 0_o i wanted to make both available. in another repo i've compiled ytdl-core from `info.js`, without `index.js`, and wanted the...
> * How can I prevent this? I'd like to have some sort of rate throttling so it doesn't incur into 429 errors. It renders ytdl completely unusable for a...
the way that `console.log` prints objects, it will put quotes around attribute names that contain a non-alphanumeric character, it does not affect the actual internal attribute name used. as for...
>  > > Does not seem to work on a server that's already blocked. > >  > > Edit: Same request works fine in Postman. it's showing 10...