4 ms·
mkdir tmp && cd tmp npm init -y && npm install react-modern-audio-player wavesurfer.js ls node_modules/react-modern-audio-player/dist 138K index.cjs 1
by lioeters 4y ago
mkdir tmp && cd tmp
npm init -y && npm install react-modern-audio-player wavesurfer.js
ls node_modules/react-modern-audio-player/dist
138K index.cjs
106K index.css
ls node_modules/wavesurfer.js/dist
72K wavesurfer.min.js
cd .. && rm -rf tmp
- pier25 4y agooof
- lioeters 4y agoTotal of 316 K minified JS & CSS. Kinda heavy.
- nawgz 4y agoIsn’t an average mp3 for a 3min song close to 3MB? It seems to me that this type of tool already assumes you have some bandwidth available
- pier25 4y agoYeah it's a lot...
- lioeters 4y agoIt's true, even without the wave visualizer, it's 244Kb minified for an audio player. Apparently some people don't agree, but I think it's too much.
- deleted 4y ago[deleted]