Comments (4)
The main reason got
is used is because it's one of the most used npm packages in the ecosystem and very actively maintained.
So fortunately at least one of your dependencies is going to install got
and the cost will be 0.
what's the code size for node-fetch
? asking because bundlephobia can't report the size
https://bundlephobia.com/package/node-fetch
from youtube-dl-exec.
The main reason got is used is because it's one of the most used npm packages in the ecosystem and very actively maintained.
So fortunately at least one of your dependencies is going to install got and the cost will be 0.
If it's by download usage got
stills behind node-fetch
, I love got
, I used it too, but node-fetch
is a better option IMO.
Also @mapbox/node-pre-gyp
now uses node-fetch
instead of needle
, plus I saw youtube-dl-exec
usage increasing by discord.js
bot developers where discord.js
also uses node-fetch
what's the code size for node-fetch? asking because bundlephobia can't report the size
npm's reporting 75.9 kB
for v3, but GNU/du is reporting 136K
, unfortunately, node-fetch
v3 is now pure ESM, meaning it can't be imported from commonjs directly (this is probably why bundlephobia can't report its size, probably it didn't support ESM packages, yet).
For node-fetch
v2 npm's reporting 149 kB and GNU/du is reporting 172K, and this is the bundlephobia results
from youtube-dl-exec.
Thanks for clarifying!
Can you make a PR switching from got to node-fetch@2
? I will be happy to merge it 🙂
from youtube-dl-exec.
Thanks for clarifying!
Can you make a PR switching from got to
node-fetch@2
? I will be happy to merge it 🙂
Ah sorry for the late response, I can but seeing #38 is already opened, then we'll use that
from youtube-dl-exec.
Related Issues (20)
- Selected folder paths for downloads not implemented HOT 1
- Missing python? or ?
- Can I get the channel profile picture? HOT 2
- using best option , it not always give that url which contains both video and audio of youtube link HOT 1
- "Error: /usr/bin/env: python3: No such file or directory" in Next.js Backend HOT 3
- Update / Install of 2.4.3+ fails with Node v16 due to preinstall script HOT 5
- YtResponse type is incomplete missing: automatic_captions and others HOT 3
- HLS link extraction using youtube-dl-exec instead of youtube-dl HOT 2
- Getting 404 Errors HOT 1
- Error running on electron on mac HOT 1
- Not working after hosting on server HOT 2
- Unable to extract after uploading the code to a server HOT 1
- Not working when a binary is on a path with space HOT 1
- youtubedl.exec is missing cancel() function HOT 10
- tinyspawn version conflict HOT 2
- This expression is not callable. HOT 1
- Does not work if there is a space anywhere in the path HOT 5
- Issue with Python Check HOT 2
- All downloads return 'undefined' HOT 3
- post-install failures are minimized HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from youtube-dl-exec.